pub struct DetectionMetrics {
pub true_positives: u64,
pub false_positives: u64,
pub false_negatives: u64,
pub precision: f32,
pub recall: f32,
pub f1: f32,
pub average_precision: f32,
}Fields§
§true_positives: u64§false_positives: u64§false_negatives: u64§precision: f32§recall: f32§f1: f32§average_precision: f32Trait Implementations§
Source§impl Clone for DetectionMetrics
impl Clone for DetectionMetrics
Source§fn clone(&self) -> DetectionMetrics
fn clone(&self) -> DetectionMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetectionMetrics
impl Debug for DetectionMetrics
Source§impl PartialEq for DetectionMetrics
impl PartialEq for DetectionMetrics
impl Copy for DetectionMetrics
impl StructuralPartialEq for DetectionMetrics
Auto Trait Implementations§
impl Freeze for DetectionMetrics
impl RefUnwindSafe for DetectionMetrics
impl Send for DetectionMetrics
impl Sync for DetectionMetrics
impl Unpin for DetectionMetrics
impl UnsafeUnpin for DetectionMetrics
impl UnwindSafe for DetectionMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more