Skip to main content

hinge_loss

Function hinge_loss 

Source
fn hinge_loss(scores: &[(f64, bool)], ham_weight: f64) -> f64
Expand description

The mean weighted squared hinge loss of scores (lower is better).