pub enum Average {
Macro,
Weighted,
}
Expand description
The type of score averaging strategy employed in the calculation of precision, recall, or F-measure.
Variants§
Macro
Macro averaging (averaged across classes or labels).
Weighted
Averaging across classes, weighted by the number of true instances.
Trait Implementations§
Source§impl Ord for Average
impl Ord for Average
Source§impl PartialOrd for Average
impl PartialOrd for Average
impl Copy for Average
impl Eq for Average
impl StructuralPartialEq for Average
Auto Trait Implementations§
impl Freeze for Average
impl RefUnwindSafe for Average
impl Send for Average
impl Sync for Average
impl Unpin for Average
impl UnwindSafe for Average
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