SQUARED_HINGE

Computes the squared hinge loss between labels and predictions.

loss = square(maximum(1 - labels * predictions, 0))

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int