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
Auto Trait Implementations
impl RefUnwindSafe for Averaging
impl UnwindSafe for Averaging
Blanket Implementations
Mutably borrows from an owned value. Read more
