Documentation
API
Examples
About
Binary hinge loss.
label (int) – ground-truth integer label (0 or 1).
int
score (float) – score produced by the model (float).
float
loss value.
References
https://en.wikipedia.org/wiki/Hinge_loss