Siilats Robots
SVM and constraints lessons

SVM in Excel: Generate One-Dimensional Training Data

Start the spreadsheet classification series by generating sample points, plotting them, and assigning two class labels. The lesson tests how a simple one-dimensional threshold can classify one sample correctly while failing to separate two points.

Watch on Siilats RobotsSVM and constraints workbook

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

At 0:35 in the original

Construct one-dimensional examples

Put the input coordinate and its label in separate columns. Use a small set where changes in class are easy to spot.

Screen recording at 0:35
Screen at 0:35
At 3:40 in the original

Plot the points

Show the two classes on a common number line and identify where a threshold can sit.

Screen recording at 3:40
Screen at 3:40
At 7:45 in the original

Inspect boundary cases

Move points near the threshold and observe which examples constrain the separation. This sets up the distinction between classification and margin maximization.

Screen recording at 7:45
Screen at 7:45