The hypothesis class shatters a set when it realizes every binary labelling of : for every function there is an with . Identifying each classifier with its positive set, this sayswhere is the power set. Different labellings may require different members of the hypothesis class.
The VC dimension isIt is infinite if arbitrarily large finite sets are shattered. A hypothesis class has VC dimension zero when it shatters no one-point set; for a nonempty hypothesis class, the empty set is always shattered.
The shattering coefficient, also called the growth function of a hypothesis class, counts the largest number of labellings obtainable on inputs:When has at least points, the same value is obtained by maximizing over -point sets . Always , with equality exactly when some -point set is shattered.
The Sauer-Shelah lemma says that a hypothesis class of finite VC dimension satisfiesIn particular, for ,Here the binomial coefficients count small subsets. One way to obtain the last inequality is to set : since for ,Thus finite VC dimension replaces the unrestricted exponential number of labellings by a polynomial bound in the sample size.
Fix an -point set . The restriction of an intersection to is determined by the ordered pair of restrictions . Some pairs can yield the same intersection, so the growth function of a hypothesis class satisfiesAssume first that . If points were shattered by , the Sauer-Shelah lemma would implyBut , so . Raising this strict inequality to the positive integer power gives a contradiction. No -point set can therefore be shattered; neither can any larger set, since shattering passes to subsets. ConsequentlyThe printed strict inequality needs . For example, on a nonempty domain let contain only the identically zero classifier. Then , whereas the stated conclusion would require . More generally, a nonempty hypothesis class of VC dimension zero has only one distinct labelling function, since two different functions would shatter a point on which they differ. Its self-intersection class also has VC dimension zero.
Choose distinct points of . The vectors lie in the -dimensional vector space , so they are linearly dependent. Hence there are real numbers , not all zero, such thatThe second equality forces both a positive and a negative coefficient. Put , , andRearranging the first equality givesEach side is a convex combination: the coefficients are positive and sum to one. Thus belongs to both convex hulls. Place the points with indices in in , those with indices in in , and assign every zero-coefficient point and every remaining point of to . Then are nonempty, disjoint, and have union . Adding points cannot shrink a convex hull, soThis proves the intersecting convex hull partition theorem, including when has more than points or is infinite: only the initial finite collection was needed.
Expanding the squared Euclidean norm givesIn lifted coordinates , this is the closed half-spaceEvery 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.
For , take the vertices of a regular simplex in , centered at zero and scaled so that . For example, realize them asin the -dimensional vector subspace , identified isometrically with . These vertices are affinely independent.
Assign arbitrary desired signs , positive for inclusion. Affine independence implies that there is an affine function with for every : the interpolation conditions form an invertible linear system. For a sufficiently small , chooseAt every vertex,Thus the Euclidean ball contains exactly the positively labelled vertices, with none on its boundary. This construction also covers the all-positive and all-negative labellings. Therefore
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 giveThe one-sided orientation of the lifted separators permits the sharper, exact conclusionTo 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 satisfyIndeed, 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 givesa 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.
Articles by others on the same topic
There are currently no matching articles.
