pub fn mae(predictions: &[f64], targets: &[f64]) -> f64
Mean Absolute Error: mean(|y_true - y_pred|).