合页损失,铰链损失
Hinge Loss is a loss function used in Machine Learning for training classifiers. The hinge loss is a maximum margin classification loss function and a major part of the SVM algorithm.
铰链损失是机器学习中用于训练分类器的损失函数。 铰链损失是最大余量分类损失函数,是SVM算法的主要部分。
The hinge loss function is given by:
铰链损耗函数由下式给出:
LossH = max(0,(1-Y*y))
损耗H = max(0,(1-Y * y))
Where, Y is the Label and, y = 𝜭.x
其中, Y是标签, y = 𝜭.x
This is the general Hinge Loss function and in this tutorial, we are going to define a function for calculating the Hinge Lo