← SimpleTools · The Simple Series · SYSREON

Perceptron Visualizer

Single-neuron trainable classifier. Click the grid to add points, then train.

Decision Plane

Class A (target +1) Class B (target -1) Decision boundary

Tap or click inside the square to place a point. Choose the class with the selector below the canvas. The perceptron learns weights w1, w2 and bias b from your data.

Controls

0.10
120
Weight w1
Weight w2
Bias b
Accuracy

How it works

The neuron computes z = w1·x + w2·y + b and predicts +1 if z ≥ 0, otherwise -1. For every misclassified point, weights update by: w += rate · target · (x, y) and b += rate · target. Training stops when all points are correct or the boundary keeps oscillating.