Shattering

From Machinelearning

Let be a set of objects one wants to label as 0 or 1, and let be a class of functions from to , called a hypothesis class. In other words, . Let be a set of points in . The hypothesis class shatters iff for every label assignment there exists some such that for all .

We can use the idea of function restriction to restate this idea:

The hypothesis class shatters iff for every label assignment there exists some such that .

The hypothesis class shatters iff .

Since functions going into can be seen as subsets of the domain, we can also state the definition using just sets. Let be the set of possible regions that the hypothesis class can label as positive.

The hypothesis class shatters iff for each subset of there exists some set such that .

The hypothesis class shatters iff .

References

https://en.wikipedia.org/wiki/Shattered_set

Understanding Machine Learning, chapter on VC dimension.