Support Vector Machines and Margins

Several lines may separate the same labelled examples. We need a reason to prefer one, and a way to handle examples that cannot all be separated cleanly.

14 sections · 4 questions · 2 coding challenges

1 / 14

Separating Examples That Do Not Cooperate

BOTIE

A separator that makes no training mistakes may still sit unnecessarily close to observations. Maximum-margin methods made the distance from a boundary part of the fitting problem. Real datasets then posed another difficulty: measurement error and overlapping classes can make perfect separation impossible.

Cortes and Vapnik's 1995 support-vector networks paper allowed the classifier to handle data that could not be separated perfectly. A point could violate the margin, but doing so carried a cost. The model could then balance a wider margin against those violations. We will use small geometric examples to understand that choice; the paper's experiments concerned optical character recognition.

Sources for this history