Understanding l1 and l2 Regularization

An overview of regularization in the Linear Regression model.

Federico Trotta
Towards Data Science
5 min readMay 10, 2022

--

l1 and l2 graphically represented. source: https://commons.wikimedia.org/wiki/File:Regularization.jpg

When training a machine learning model, there can be the possibility that our model performs accurately on the training set but performs poorly on the test data.

In this case, we have a problem with overfitting; in fact, overfitting occurs when our machine learning model

--

--