pub enum Averaging {
Macro,
Weighted,
}
Expand description
Specifies the averaging method to use for computing multi-class metrics
Variants§
Macro
Macro average, in which the individual metrics for each class are weighted uniformly
Weighted
Weighted average, in which the individual metrics for each class are weighted by the number of occurrences of that class
Trait Implementations§
impl Copy for Averaging
impl Eq for Averaging
impl StructuralPartialEq for Averaging
Auto Trait Implementations§
impl Freeze for Averaging
impl RefUnwindSafe for Averaging
impl Send for Averaging
impl Sync for Averaging
impl Unpin for Averaging
impl UnwindSafe for Averaging
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