Data Science with Python — Medium
Key points
- Regularization reduces overfitting by adding penalty terms
- L1 encourages sparsity by penalizing absolute coefficients
- L2 shrinks all coefficients by penalizing squared coefficients
Ready to go further?
Related questions
