🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Logistic Regression from Scratch: all 10 questions

Quiz: Logistic Regression from Scratch · Question 1 of 10

Why is a plain straight line a poor model for a yes/no target?

Why is a plain straight line a poor model for a yes/no target?

  1. A.It is too slow to train
  2. B.Its output can go below 0 or above 1, so it cannot be a probability
  3. C.It needs categorical features
  4. D.It always predicts 0.5
Answer & explanation

Correct answer: Its output can go below 0 or above 1, so it cannot be a probability

The sigmoid fixes this by squeezing any value into the range 0 to 1.

Can you get the rest right without peeking?

Take the timed Quiz: Logistic Regression from Scratch quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →