pub struct Recall { /* private fields */ }Expand description
Recall for the positive class.
Trait Implementations§
Source§impl Metric for Recall
impl Metric for Recall
Source§type Prediction = bool
type Prediction = bool
The prediction type for this metric.
Source§fn update(&mut self, truth: bool, prediction: bool) -> Result<(), RillError>
fn update(&mut self, truth: bool, prediction: bool) -> Result<(), RillError>
Incorporate a single observation.
Source§fn value(&self) -> Option<f64>
fn value(&self) -> Option<f64>
Current metric value, or
None if not enough data has been seen.Source§fn samples_seen(&self) -> u64
fn samples_seen(&self) -> u64
How many observations have been incorporated.
Auto Trait Implementations§
impl Freeze for Recall
impl RefUnwindSafe for Recall
impl Send for Recall
impl Sync for Recall
impl Unpin for Recall
impl UnsafeUnpin for Recall
impl UnwindSafe for Recall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more