Boundaries & Margins
SVMs: The Widest Street
8 min+75 XPStep 1/11
Not just any line — the widest one
If two classes are separable, infinitely many lines separate them. A support vector machine chooses the one with the largest margin — the widest empty street between the two neighborhoods.
Only the closest points — the support vectors — touch the curb and decide where the street runs. Every other point could move around freely without shifting the boundary at all.
insight
Maximizing the margin is a bet on generalization: a boundary that stays as far as possible from everything it's seen has the most room for points it hasn't.