Siilats Robots
Regression and perceptron lessons

Perceptron in Excel: Debug an Iterative Training Loop

Trace an iterative perceptron calculation in Excel. The walkthrough checks the label threshold, follows how each previous coefficient feeds the next row, and compares the step function with a perceptron-loss update while debugging examples near the boundary.

Watch on Siilats RobotsRegression and perceptron workbook

Screen times follow the original lesson. Edited YouTube versions may run shorter.

At 0:50 in the original

Follow one iteration

Keep the weights used to score a row distinct from the weights after its update. A circular Excel formula can obscure that dependency.

Screen recording at 0:50
Screen at 0:50
At 4:10 in the original

Trace a misclassification

Select a wrong prediction and check each input to the update. Passing the new weights forward is what makes each iteration build on the previous one.

Screen recording at 4:10
Screen at 4:10
At 8:30 in the original

Inspect stopping behavior

Count mistakes after a full pass. On nonseparable data a basic perceptron can cycle, so keep a maximum pass count.

Screen recording at 8:30
Screen at 8:30