Skip to main content

r_squared

Function r_squared 

Source
pub fn r_squared(y_true: &[f64], residuals: &[f64]) -> f64
Expand description

Compute R² (coefficient of determination).