Neural Networks
Math · Advanced · Lesson 2 of 8

Drawing a Line

A neuron as a classifier

An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.

What you’ll learn

  • A single neuron with a threshold divides the plane with a straight line.
  • The perceptron (1958) learns the line from examples.
  • XOR can’t be separated by one line, so a single neuron can’t learn it.

Steps

  1. Separate the dots
  2. Watch it learn
  3. One correction by hand
  4. The XOR problem
  5. Counting weights
  6. Which side?