binary classifier · linear separator · online learning

Perceptron, in 2D

17 points, each labeled ±1 by which side of a hidden random line they fall on. The algorithm sees only the points and their labels — it starts from w = [0, 0, 0] and nudges the weight vector every time a point is misclassified, until one full pass produces no updates.

label +1 label −1 point under test current boundary
speed

current weight vector

w = [ 0, 0, 0 ]

step trace

Press Play or Step to begin.

update log