A support vector machine separates two kinds of point with the widest possible empty street. Only the points on the edge of the street decide where it goes. These figures let you build one by hand, then let the algorithm do it.
The solid line is your boundary. The dashed lines are the edges of the widest empty street centred on it. Try it: drag the two handles to make your street as wide as possible. Then reveal the best possible street and compare.
Figure
How much to mind the awkward points
Boundary and street edges
Ringed: support vector
Cost of a violation (C)
1
Street width
1.52
Points inside the street
6
On the wrong side
2
The two groups overlap, so some points must end up inside the street or on the wrong side. Try it: slide C from 100 down to 0.001. Watch the street widen and the number of ringed points grow.
Figure
A boundary that closes into a loop
Shaded: would be called filled
Ringed: support vector
Boundary
straight line
Points classified correctly
73%
Support vectors
64 of 70
Shaded areas would be classified as the filled kind. Try it: with the straight boundary, read the accuracy. Switch to RBF, then move γ to its smallest and largest values and count the support vectors.