Siilats Robots
Regression and perceptron lessons

Perceptron in Excel: From Regression to Binary Classification

Turn predicted values into class labels in Excel, then compare a fixed linear prediction with an online perceptron update. The screen share tests misclassified examples and shows how absolute and relative cell references affect a formula as it is copied across a worksheet.

Watch on Siilats RobotsRegression and perceptron workbook

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

At 0:40 in the original

Change the target to a class

Replace the continuous output with two labels. A classification score can be real-valued even though the prediction must be discrete.

Screen recording at 0:40
Screen at 0:40
At 4:00 in the original

Use a threshold on the score

Compare the computed score with zero and map the sign to a class. Verify your treatment of ties.

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

Check mistakes row by row

Compare labels with the worksheet predictions and inspect misclassified points. Their coordinates determine the direction of a perceptron update.

Screen recording at 8:00
Screen at 8:00