Enum eval_metrics::classification::Averaging
source · [−]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 StructuralEq for Averaging
impl StructuralPartialEq for Averaging
Auto Trait Implementations
impl RefUnwindSafe for Averaging
impl Send for Averaging
impl Sync for Averaging
impl Unpin for Averaging
impl UnwindSafe for Averaging
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more