Perceptron in Excel: Compute Prediction Error and Update a Weight
Work through an online perceptron example in Excel. Compare the predicted label with the target, compute the classification error, update the weight, and run another pass to see whether the same examples are classified correctly.
Screen times follow the original lesson. Edited YouTube versions may run shorter.
Build the prediction column
Calculate the current score from the feature and weight, then apply the decision threshold in a separate cell.

Find prediction errors
Use the difference between expected and predicted classes to flag rows for an update. Keep the label encoding consistent with the update formula.

Update a weight
On a mistake, move the weight in the direction of the labeled example. Freeze the learning-rate reference when copying the formula.
