Trait rustml::nn::MeanSquareError [] [src]

pub trait MeanSquareError {
    fn mse(&self, input: &Matrix<f64>, target: &Matrix<f64>) -> f64;
}

Trait to compute the mean square error of a predictor.

Required Methods

fn mse(&self, input: &Matrix<f64>, target: &Matrix<f64>) -> f64

Computes the mean square error of a predictor.

Implementors