Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 1 31J Solution Created 2026-09-24 Updated 2026-09-25
For points , the restriction of to those points is the set of binary vectorsThe shattering coefficient isThe VC dimension iswith value infinity when arbitrarily large finite sets are shattered.
Now put and suppose that are shattered byConsider the linear mapIf , the rank-nullity theorem shows that is a proper subspace of . Choose a nonzeroand replace by if necessary so that at least one coordinate is positive.
Ask for the labeling that assigns label zero when and label one when ; coordinates with may be labeled arbitrarily. Shattering would supply such thatEvery product is then nonnegative, and at least one is strictly positive. Hencecontradicting . Therefore , provingThis is the VC dimension of a vector space argument.
Finally, a closed Euclidean ball with center and radius iswhereEvery such function lies inwhose dimension is at most . Applying the result just proved gives the VC dimension upper bound for Euclidean balls
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 1 31J b ii Solution Created 2026-09-24 Updated 2026-09-25
These are indicators of affine half-spaces in . Adjoining a constant coordinate embeds their defining functions in the -dimensional vector spaceThe VC dimension of a vector space bound therefore givesIn fact equality holds, but only the upper bound is required.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 31J c Solution Created 2026-09-24 Updated 2026-09-25
The functions form a real vector space of dimension . Hence the VC dimension of a vector space givesApplying the Sauer-Shelah lemma and then the Sauer-Shelah growth bound,This is the growth bound for homogeneous linear classifiers.
Past exam of the mathematics course of the University of Cambridge 2026 ii Paper 1 31K c Solution Created 2026-09-24 Updated 2026-09-25
For each coordinate, the interval indicators sum to one, so the span of all displayed indicators has dimension at mostTherefore VC dimension of a vector space gives
.
.