Definition

The signed distance of a labeled point to the hyperplane is (positive iff classified correctly). The margin of on the data is the smallest of these distances. Data is linearly separable if some has a positive margin.

Formula

Derivation: with , and gives . The margin is invariant to rescaling . It controls the perceptron mistake bound and its generalization bound; margins also appear for SVMs and boosting.

Appears in