What are the differences between L1 and L2 regularisation?

src: Google

L1 and L2 regularization are two common techniques used in machine learning to prevent overfitting of models. While both methods aim to reduce overfitting, they work differently and have different effects on the model.

L1 Regularization:

L1 regularization, also known as Lasso regularization, adds a penalty term to the loss…