What does it mean for a set of classifiers to shatter a set of points, and how do one-dimensional threshold rules ht(x)=1[x≥t] (which predict 1 if x≥t and 0 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 0/1 labelling on a set of points and can verify it on one point.

Key idea

On k points there are 2k possible ways to assign 0 and 1 labels. A classifier family shatters those k points if, for *every* one of those 2k labellings, some classifier in the family produces that exact pattern.

Steps

  1. Define shattering: a hypothesis class shatters a set of k points if you can pick a classifier from the class to match every single one of the 2k possible 0/1 label assignments on those points.
  2. Test one point, say x1=3, with threshold rules ht(x)=1[x≥t]: there are 21=2 possible labels (1 or 0).
  3. Produce both labellings: choose threshold t=2 (any t≤3) to give ht(3)=1, and choose t=5 (any t>3) to give ht(3)=0. Since both labellings occur, the set {3} is shattered.
  4. Note what comes next: proving why *no* two points can be shattered by thresholds — which makes their VC (Vapnik–Chervonenkis) dimension equal to 1 — is covered at the next level.

Common mistakes

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 m points? For the one-dimensional thresholds ht(x)=1[x≥t], 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?