Skip to main content

mae

Function mae 

Source
pub fn mae(predictions: &[f32], targets: &[f32]) -> Result<f32, EvalError>
Expand description

Mean absolute error.

Returns 0.0 for empty inputs.