Hei, guys. Recently I've got a task in my college. Minimize the following function: $$ f(x) = \|x-a\|_2^2+\lambda\|x\|_1 \tag{$*$} $$ with respect to $x.$ Suppose $x$ and $a$ are linear vectors, $\lambda$ is a scalar value. Solution should be analytical, so we can't use gradient descent. I've tried to make this: $$ (*)\iff f(x)=\sum_{i=1}^n(x^{(i)}-a^{(i)})^2 + \lambda\sum_{i=1}^n|x^{(i)}| $$ But it doesn't help. So, have you got any ideas?
Asked
Active
Viewed 33 times
1
-
1This question is also answered here: https://math.stackexchange.com/questions/471339/derivation-of-soft-thresholding-operator-proximal-operator-of-l-1-norm – littleO Jan 25 '20 at 06:06