← 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?
- A.It is too slow to train
- B.Its output can go below 0 or above 1, so it cannot be a probability
- C.It needs categorical features
- 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 →