Skip to main content

mase

Function mase 

Source
pub fn mase(actual: &[f64], forecasted: &[f64], training: &[f64]) -> f64
Expand description

Compute the Mean Absolute Scaled Error (MASE).

Returns NaN when training has fewer than 2 elements or the naive in-sample MAE is zero (constant training series).