Lecture 15 · Large-margin separation

Margin laboratory

Many hyperplanes classify separable data correctly. Only one maximizes the distance to the closest training points.

geometrymaximum marginrobustness
Predict first: if two separators make zero training errors, what should make one preferable?

Move the separator

Training errors
Closest distance
Margin
Gold-circled points are closest to the separator. They are the points that constrain how wide the margin can become.

  1. Find two zero-error separators with different margins.
  2. Move toward one training point. What happens to robustness?
  3. Why does maximizing margin resolve the ambiguity among many correct separators?