Trait MeanSquaredError

Source
pub trait MeanSquaredError {
    type Output;

    // Required method
    fn mse(&self) -> Self::Output;
}
Expand description

Compute the mean squared error (MSE) of the object.

Required Associated Types§

Required Methods§

Source

fn mse(&self) -> Self::Output

Implementations on Foreign Types§

Source§

impl<A, S, D> MeanSquaredError for ArrayBase<S, D>
where A: Float + FromPrimitive + ScalarOperand, D: Dimension, S: Data<Elem = A>,

Source§

type Output = A

Source§

fn mse(&self) -> Self::Output

Implementors§