Affine linear classifier 2026-10-31
An affine linear classifier assigns binary labels according to the sign of an affine function. Its boundary is an affine hyperplane, and its positive region is a closed half-space under the displayed convention. On the full class has VC dimension : arbitrary signs interpolate on affinely independent points, while the intersecting convex hull partition theorem prevents shattering any points. Requiring gives the homogeneous case and a different VC dimension.
An affine linear classifier in has VC dimension . The upper bound follows from the intersecting convex hull partition theorem: for any points, label the two parts oppositely. The two convex hulls cannot be strictly separated by an affine hyperplane, since they intersect. A weak boundary convention gives the same contradiction: an affine score is nonnegative on the positive convex hull and strictly negative on the negative convex hull. The lower bound comes from the affinely independent vertices of a simplex, because an affine score can interpolate arbitrary signs there.
Consequently, parts (i) and (ii) immediately give
The one-sided orientation of the lifted separators permits the sharper, exact conclusion
To prove the remaining upper bound, take any distinct points and a nonzero affine dependence as in part (c). Write . Reverse every coefficient if necessary so that . Prescribe positive labels when and negative labels when ; zero coefficients may be labelled arbitrarily. If a Euclidean ball realized these labels, its score would satisfy
Indeed, every positive-coefficient term is nonnegative and every negative-coefficient term is strictly positive, with at least one of the latter. On the other hand, expanding the score and using the two affine dependence identities gives
a contradiction. No points are shattered, completing the exact determination of the VC dimension of Euclidean balls. In the exceptional zero-dimensional Euclidean space, every positive-radius Euclidean ball is the whole singleton space, so the VC dimension is zero.
Expanding the squared Euclidean norm gives
In lifted coordinates , this is the closed half-space
Every labelling of the original points obtainable by a Euclidean ball is therefore obtainable on their lifted images by an affine linear classifier. The feature map is injective, since it preserves the first coordinates; distinct original points remain distinct. If the original points are shattered, every labelling of the lifted points is realized, as required.
Here “linear separator” means a separator with an intercept, namely an affine hyperplane. If a convention demands strict separation on the finite sample, increase the constant term of the positive score by a sufficiently small positive amount. Positive points then have strictly positive score, and the finitely many negative scores remain strictly negative. A homogeneous separator can alternatively be obtained after adjoining one more constant coordinate; this distinction matters for dimension counts.
A real positive-semidefinite kernel on an input set is a function for which there is an inner product space and a feature map satisfying
Equivalently, is symmetric and every finite Gram matrix is positive semidefinite: for all real coefficients . An infinite-dimensional Hilbert space is allowed.
Replace every inner product in part (b) by and solve
This is precisely the Lagrangian dual problem obtained by replacing each original input by in the primal problem. The weight vector it determines is
and the intercept follows from the same Karush-Kuhn-Tucker conditions. For example, if ,
Thus training needs only the finite Gram matrix, even if the feature map has infinitely many coordinates. This is the kernel trick. The result is an affine linear classifier in the feature space; its boundary in the original input space can be nonlinear. The squared-slack diagonal term and the equality constraint remain unchanged.
Radon's theorem 2026-10-31
Every set of at least points in can be partitioned into two nonempty parts with intersecting convex hulls. To see this, take a nonzero affine dependence on of its points. Its positive and negative coefficient sums have the same magnitude . Dividing by expresses one point as a convex combination of the positive-coefficient points and also as a convex combination of the negative-coefficient points. Distribute zero-coefficient and remaining points arbitrarily between the parts. This theorem obstructs arbitrary labels for affine linear classifiers.
The positive-radius closed Euclidean balls in have VC dimension for . Vertices of a regular simplex are shattered: interpolate any desired signs by an affine function , then perturb a sphere through the vertices to the score . For the upper bound, take an affine dependence among points and orient it so that . Labelling the positive coefficients inside and the negative coefficients outside would force , while the affine dependence makes this sum equal . The weaker upper bound from unrestricted lifted affine linear classifiers loses their fixed quadratic coefficient.