The hinge loss function is defined as $l(y, t) = max(0, 1 - t \cdot y)$
The hinge loss function $\mathcal{l}$ is defined as
$$\mathcal{l}(y, t) = \max(0, 1 - t \cdot y)$$
where $t$ is the target value and $y$ is the prediction.
It has values in $[0, \infty)$