Hinge Loss

#Math

$$\displaystyle l^{\text{HINGE}}(y,a(x))=

\begin{cases}
0, & ya(x)\geq 1 \\1-ya(x), & \text{otherwise}
\end{cases}
$$