Hinge loss (source code)

= Hinge loss
{wiki}

The hinge loss is $\max(0,1-yh(x))$ and is one-Lipschitz in the signed margin.