Machine Learning & AI
Intermediate

SVM Margin

Width of the separating margin an SVM maximizes between classes.

Formula

M=2wM = \dfrac{2}{\lVert \mathbf{w}\rVert}

Variables

\mathbf{w}Weight vector

Example

Smaller ||w|| means a wider margin

Did You Know?

SVMs find the single hyperplane that maximizes the gap to the nearest points of each class.

Share this formula