How does Lasso Regression select which coefficients to set to 0 and why are not all of them set to zero? My understanding is minimizing the function:
$$ min_{\beta} \lvert\lvert y-X\beta\rvert\rvert^{2}_{2} + \lambda \sum_i \lvert\beta_i\rvert $$
It seems to me that minimizing this function would be setting all coefficients to 0 eliminating the normalizing factor. How does lasso resolve to minimizing this function by only setting select coefficients to 0?