Skip to main content

brier

Function brier 

Source
pub fn brier(probs: &[&[f64]], labels: &[usize]) -> Result<f64, MetricError>
Expand description

Mean multiclass Brier score Σₖ (pₖ − yₖ)² (lower is better; 0 is perfect).

§Errors

Propagates validation errors.