pub trait Numeric {
// Required method
fn value(&self) -> f64;
}
Expand description
Declare a metric to be numeric.
This is useful to plot the values of a metric during training.
pub trait Numeric {
// Required method
fn value(&self) -> f64;
}
Declare a metric to be numeric.
This is useful to plot the values of a metric during training.