0-1 Loss
#Computers
A discrete loss function that is not convex or continuous
$$\displaystyle l(y,h(x))=
\begin{cases}
0, & ya>0 \\1, & ya<0
\end{cases}
$$
- Loss for a particular vector $\displaystyle x$
- If $\displaystyle y$ and $\displaystyle a$, the activation function are of the same sign