Why is for a finite class , and is the bound tight?
Learning theory, VC dimension
Level L2 Elementary. Length Short. Nature Th+Mat Both.
What's being asked
Whether you can connect shattering to a counting argument on the number of hypotheses.
Key idea
Shattering points needs distinct labellings, each produced by a different hypothesis, so .
Steps
- Suppose shatters a set of size . Then every one of the labellings of is produced by some .
- Two hypotheses that give different labellings of are different functions. So contains at least distinct hypotheses: .
- Take : . This holds for every shattered set, so .
- Tightness: the class of all functions on points has and VC dimension , so equality can hold. It can be very loose: thresholds on ordered points have hypotheses on those points but VC dimension .
Common mistakes
- Assuming the VC dimension of a finite class equals . That is only an upper bound.
- Using with an unspecified base. The counting gives base .
- Applying it to an infinite class. Then is infinite and the bound says nothing.
How long your answer should be
3–4 sentences; about 1 minute.
Last checked on 4 December 2026.
Read this
Previous in Learning theory: In kernel ridge regression, predictions take the form with weights , where is the kernel matrix, is the vector of targets, is the regularisation parameter and is the identity matrix. For two training points with , and , what are and the prediction at a new point with and ?
Next in Learning theory: Linear classifiers with are trained on points with . A classifier has margin at least on of the training points. Using with , what true-error bound do you get? What if were four times larger?