Skip to main content

r2

Function r2 

Source
pub fn r2(pred: &[f64], truth: &[f64]) -> f64
Expand description

Coefficient of determination against the mean predictor.