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

Quiz: Neural Networks from Scratch · Question 1 of 10

Why can logistic regression not learn XOR?

Why can logistic regression not learn XOR?

  1. A.XOR has too many rows
  2. B.Its decision boundary is a single straight line, and no straight line separates the XOR classes
  3. C.It cannot use two features
  4. D.Its learning rate was too small
Answer & explanation

Correct answer: Its decision boundary is a single straight line, and no straight line separates the XOR classes

The 1s sit on opposite corners of the square, so any straight line splits them wrongly.

Can you get the rest right without peeking?

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

Start the quiz →