← Quiz: Regularisation (Ridge and Lasso): all 10 questions
Quiz: Regularisation (Ridge and Lasso) · Question 8 of 10
In scikit-learn's LogisticRegression, you change C from 1.0 to 0.01. What happens?
In scikit-learn's LogisticRegression, you change C from 1.0 to 0.01. What happens?
- A.The penalty becomes weaker
- B.The penalty becomes stronger, so the weights become smaller
- C.Regularisation is switched off
- D.The model switches to Lasso
Answer & explanation
Correct answer: The penalty becomes stronger, so the weights become smaller
C is the inverse of the penalty strength.
Can you get the rest right without peeking?
Take the timed Quiz: Regularisation (Ridge and Lasso) quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →