Apex › Storage & databases

The widest street between classes (SVM)

Among the infinitely many lines that separate two classes, a support vector machine picks the one with the widest margin — the biggest empty band before it touches a point — because staying far from both sides generalizes best. That boundary is fixed by only a few support vectors on the margin edge; every other point is irrelevant. Verified in node: sliding a non-support-vector deep in its class moves the boundary 0.02° (unchanged), while a support vector shifts it. The kernel trick bends it into curves. Move a point and watch the boundary hold, then react.

More in Storage & databases