Concepthinge loss
hinge loss
A loss function commonly used in maximum-margin classification, of the form max(0, margin - score). It produces a gradient when a sample's score falls below the boundary, encouraging the model to maintain correct predictions.