🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.The penalty becomes weaker
  2. B.The penalty becomes stronger, so the weights become smaller
  3. C.Regularisation is switched off
  4. 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 →