BaşlayınÜcretsiz Başlayın

Lasso regularization

In the previous lesson, you covered an important aspect of machine learning interview questions by practicing various feature selection techniques.

In this exercise, you will build on your knowledge of feature selection and perform all the steps in the machine learning pipeline by trying out Lasso Regularization.

All relevant packages have been imported for you, as well as the feature matrix X and target variable y. You've come a long way!

You're now performing all of the steps in the machine learning pipeline - importing modules, preprocessing steps, instantiating estimators, train/test split, cross validating, tuning hyperparameters, then fitting, predicting and evaluating. You've come a long way!

Bu egzersiz

Practicing Machine Learning Interview Questions in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Import modules
from sklearn.____ import ____, ____
from sklearn.____ import ____
Kodu Düzenle ve Çalıştır