The perceptron, from 1958, is a single neuron that draws a line. Visit the points one at a time; whenever one is on the wrong side, add it to the weights (w ← w + y·x, b ← b + y), which tilts and shifts the line towards classifying it correctly. Repeat until a whole pass makes no mistakes.