← ML demos

A LINEAR CLASSIFIER

The perceptron

Can a straight line separate your points? Build a dataset, then teach a classifier one example at a time.

Add points
Click the plot to add a point
Perceptron decision boundary

Add a point with the keyboard

This step, worked out

Press Step one point to begin.

Calculations use the weights before this step. The plot and model values show the result after this step. Displayed decimals are rounded.