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
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
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps