Loss function https://en.wikipedia.org/wiki/Loss_function Tutorials Understanding Ranking Loss, Contrastive Loss, Margin Loss, Triplet Loss, Hinge Loss and all those confusing names