Machine Learning — Medium
Key points
- L1 drives coefficients to exactly zero for sparsity
- L2 rarely drives coefficients to zero
- L1 penalizes absolute weights; L2 penalizes squared weights
- L1 is Lasso; L2 is Ridge
Ready to go further?
Related questions
