What does it mean for a set of classifiers to shatter a set of points, and how do one-dimensional threshold rules (which predict if and otherwise) shatter a single point?
Learning theory, VC dimension
Level L1 Beginner. Length Short. Nature Th+Mat Both.
What's being asked
Whether you understand shattering as achieving every possible labelling on a set of points and can verify it on one point.
Key idea
On points there are possible ways to assign and labels. A classifier family shatters those points if, for *every* one of those labellings, some classifier in the family produces that exact pattern.
Steps
- Define shattering: a hypothesis class shatters a set of points if you can pick a classifier from the class to match every single one of the possible label assignments on those points.
- Test one point, say , with threshold rules : there are possible labels ( or ).
- Produce both labellings: choose threshold (any ) to give , and choose (any ) to give . Since both labellings occur, the set is shattered.
- Note what comes next: proving why *no* two points can be shattered by thresholds — which makes their VC (Vapnik–Chervonenkis) dimension equal to — is covered at the next level.
Common mistakes
- Checking only one labelling on the points; shattering requires realising *all* possible combinations.
- Thinking shattering asks whether a single classifier gives all labellings; you are allowed to pick a different classifier (here a different threshold ) for each labelling.
How long your answer should be
3–4 sentences defining shattering and showing both labellings for one point; under 2 minutes.
Read this
Previous in Learning theory: For a class of classifiers, what is the growth function, i.e. how many different ways can the class label points? For the one-dimensional thresholds , how many labellings can they make on 3 points?
Next in Learning theory: What is the difference between the realisable and the agnostic settings in PAC (probably approximately correct) learning?