Exercise 12: Suppose we would like to use scikit-learn to solve a multiple linear regression problem using ₁ regularization. Which of the following is a possible option to use? A) "sklearn.linear_model.Logistic Regression" class with default choices of param- eters B) "sklearn.linear_model.Logistic Regression" class by changing the default choice of "penalty" and "solver" parameters to "11" and "liblinear", respectively. C) "sklearn.linear_model.Lasso" class with default choices of parameters D) "sklearn.linear_model.Ridge" class with default choices of parameters

icon
Related questions
Question
Exercise 12: Suppose we would like to use scikit-learn to solve a multiple linear
regression problem using ₁ regularization. Which of the following is a possible
option to use?
A) "sklearn.linear_model.Logistic Regression" class with default choices of param-
eters
B) "sklearn.linear_model.Logistic Regression" class by changing the default choice
of "penalty" and "solver" parameters to "11" and "liblinear", respectively.
C) "sklearn.linear_model.Lasso" class with default choices of parameters
D) "sklearn.linear_model. Ridge" class with default choices of parameters
Transcribed Image Text:Exercise 12: Suppose we would like to use scikit-learn to solve a multiple linear regression problem using ₁ regularization. Which of the following is a possible option to use? A) "sklearn.linear_model.Logistic Regression" class with default choices of param- eters B) "sklearn.linear_model.Logistic Regression" class by changing the default choice of "penalty" and "solver" parameters to "11" and "liblinear", respectively. C) "sklearn.linear_model.Lasso" class with default choices of parameters D) "sklearn.linear_model. Ridge" class with default choices of parameters
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer