pub trait RegressionLoss {
    // Required method
    fn loss(&self) -> f32;
}
Expand description

Trait to show loss & metric for a Regression Evaluator

Required Methods§

source

fn loss(&self) -> f32

Loss function to produce metric

Trait Implementations§

source§

impl Display for dyn RegressionLoss

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§