aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 11. Support Vector Machines
Lesson 1 of 5 9 min · 116 words

Maximum-margin classification

The separating hyperplane furthest from both classes.

When two classes are linearly separable, infinitely many lines separate them. A support vector machine picks the one with the maximum margin — the widest gap between the boundary and the nearest points of either class.

With labels and boundary , we scale so the closest points satisfy . The margin width is then , and maximising it means:

This is a convex quadratic program with a unique solution. The intuition: a wide margin leaves room for noise, so new points near the boundary are still likely to be classified correctly — better generalisation.

Formula to remember

Margin

Maximise the margin by minimising ‖w‖.

Quick check · +5 XP

Support vectors are points…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser