Sandbox 01

Train a Real Classifier

A genuine perceptron — the simplest kind of trainable model — running entirely in your browser. Move the decision boundary yourself, then hit auto-train and watch the same gradient-style update rule converge on a working classifier, one labeled example at a time.

See this sandbox in its lesson context
!!!!!!!!!!!more exclamation marks ↑more links →
Not spam Spam Misclassified

Drag the boundary yourself and try to separate the two colors perfectly — that’s you doing what a model’s training loop does automatically. Then hit “Auto-train” and watch the perceptron learning rule nudge the line, one pass over the data at a time, toward the same answer.

45% correct · pass 0