Try it yourself

Draw two groups of points, then watch a line learn to separate them

correct
  1. 1. Pick a dot type below (hollow or filled).
  2. 2. Click the plot to add points. Put hollow dots on one side, filled dots on the other.
  3. 3. Press Train. The dashed line is the decision boundary.
class 0 (predict 0) class 1 (predict 1) dashed line = 50% boundary

Demo loaded. Press Train to move the boundary, or click to add your own points.