Model Performance

Check the model performance with a complex predictor matrix using regularization.

Moving forward, let's check how the penalties affect the performance of our models. Using the (X, y) dataset, we have not seen many benefits of regularization. We can try the second dataset (X_overfit, y_overfit) and see the effect of all three types of regularization and compare the results to learn how regularization helps us control overfitting. Let's start with linear regression without regularization.

Get hands-on with 1200+ tech skills courses.