I am a little confused about taking derivatives w.r.t. the norms.
$L_0$-norm: $L_0$ means number of non-zero elements in a vector. Say, I am interested in an $x_i$.
$$\displaystyle\min_{i}(y_i-x_i)^2+c\|x_i \|_{0}$$
The answer depends on $x_i=0$ or not?
My work: take the norm of $x_i$, which is a constant, then, derivative, so it's 0.
$L_1$-norm: Manhattan distance. What should I do? $$\displaystyle\min_{i}(y_i-x_i)^2+c\|x_i \|_{1}$$
$L_2$-norm:Euclidean distance. What should I do?
$$\displaystyle\min_{i}(y_i-x_i)^2+c\|x_i \|_{2}$$