SQUARED_HINGE
Content copied to clipboard
Computes the squared hinge loss between labels and predictions.
loss = square(maximum(1 - labels * predictions, 0))
Computes the squared hinge loss between labels and predictions.
loss = square(maximum(1 - labels * predictions, 0))