Trait Numeric
pub trait Numeric {
// Required method
fn value(&self) -> NumericEntry;
}Expand description
Declare a metric to be numeric.
This is useful to plot the values of a metric during training.
Required Methods§
fn value(&self) -> NumericEntry
fn value(&self) -> NumericEntry
Returns the numeric value of the metric.
Implementors§
impl Numeric for NumericMetricState
impl Numeric for CpuMemory
impl Numeric for CpuTemperature
impl Numeric for CpuUse
impl Numeric for IterationSpeedMetric
impl Numeric for LearningRateMetric
impl<B> Numeric for AccuracyMetric<B>where
B: Backend,
impl<B> Numeric for AurocMetric<B>where
B: Backend,
impl<B> Numeric for CharErrorRate<B>where
B: Backend,
The character error rate metric implementation.
impl<B> Numeric for FBetaScoreMetric<B>where
B: Backend,
impl<B> Numeric for HammingScore<B>where
B: Backend,
impl<B> Numeric for LossMetric<B>where
B: Backend,
impl<B> Numeric for PerplexityMetric<B>where
B: Backend,
impl<B> Numeric for PrecisionMetric<B>where
B: Backend,
impl<B> Numeric for RecallMetric<B>where
B: Backend,
impl<B> Numeric for TopKAccuracyMetric<B>where
B: Backend,
impl<B> Numeric for WordErrorRate<B>where
B: Backend,
The word error rate metric implementation.