Siilats Robots
Regression and perceptron lessons

Perceptron in Excel: Debug the Two-Weight Update

Continue the Excel perceptron walkthrough by tracking two coefficient guesses row by row. We check the predicted label against the original class, wire the error into the update formulas, and debug a threshold that puts the examples on the wrong side.

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

Inspect the formula references

Trace the weight cells from each prediction formula. Absolute references should identify shared parameters and relative references should follow the row.

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

Check the update direction

Pick a known mistake and calculate the weight change by hand. The next score should move toward the actual label for that point.

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

Compare the result on both features

Inspect both coefficient changes after recalculation. Treat a change in the wrong column as a reference or sign error.

Screen recording at 8:00
Screen at 8:00