Machine Learning & AI
Intermediate

Perceptron Update

The original learning rule that nudges weights when a prediction is wrong.

Formula

w:=w+η(yy^)x\mathbf{w} := \mathbf{w} + \eta\,(y-\hat{y})\,\mathbf{x}

Variables

\etaLearning rate
yTrue label
\hat{y}Prediction
\mathbf{x}Input

Example

Correct prediction: no update

Did You Know?

Rosenblatt built the Perceptron in 1958 as physical hardware — the ancestor of neural networks.

Share this formula