How to Perform Lasso and Ridge Regression in Python

How to Perform Lasso and Ridge Regression in Python

5 years ago
Anonymous $L9wC17otzH

https://towardsdatascience.com/how-to-perform-lasso-and-ridge-regression-in-python-3b3b75541ad8

Previously, I introduced the theory underlying lasso and ridge regression. We now know that they are alternate fitting methods that can greatly improve the performance of a linear model.

In this quick tutorial, we revisit a previous project where linear regression was used to see if we can improve the model with our regularization methods. As a quick reminder, the project consisted of predicting sales based on ad spending.