The concept of shattering of a set of points plays an important role in Vapnik–Chervonenkis theory, also known as VC-theory. Shattering and VC-theory are used in the study of empirical processes as well as in statistical computational learning theory.
Contents |
Suppose we have a class C of sets and a given set A. C is said to shatter A if, for each subset T of A, there is some element U of C such that
Equivalently, C shatters A when the power set P(A) is the set { U ∩ A | U ∈ C }.
For example, the class C of all discs in the plane (two-dimensional space) cannot shatter every set A of four points, yet the class of all convex sets in the plane shatters every finite set on the (unit) circle. (For the collection of all convex sets, connect the dots!)
We employ the letter C to refer to a "class" or "collection" of sets, as in a Vapnik–Chervonenkis class (VC-class). The set A is often assumed to be finite because, in empirical processes, we are interested in the shattering of finite sets of data points.
Suppose we have a set A of 4 points on the unit circle, and we wish to know if it is shattered by the class C of all discs.
To test this, we attempt to draw a disc around every subset of points in A. First, we draw a disc around the subsets of each isolated point, which turns out to be easy. Next, we try to draw a disc around every subset of point pairs. This turns out to be easy for adjacent points, but impossible for points on opposite sides of the circle. As visualized below:
Because there is some subset which can not be isolated by any disc in C, we conclude then that A is not shattered by C. And, with a bit of thought, we can prove that NO set of 4 points is shattered by this C.
However, if we redefine C to be the class of all elliptical discs, we find that we can still isolate all the subsets from above, as well as the points which were problems. Thus, this specific set of 4 points is shattered by the class of ellipitical discs. Visualized below:
With a bit of thought, we could generalize that any set of finite points on a unit circle could be shattered by the class of all convex sets (visualize connecting the dots).
To quantify the richness of a collection C of sets, we use the concept of shattering coefficients (also known as shatter coefficients or the growth function). For a collection C of sets s⊂Ω, Ω being any space, often a probability space, we define the nth shattering coefficient of C as
where denotes the cardinality of the set.
is equal to the largest number of subsets of any set A of n points that can be formed by intersecting A with the sets in collection C.
Here are some facts about :
The third property means that if C cannot shatter any set of cardinality N then it can not shatter sets of larger cardinalities.
The VC dimension of a class C is defined as
or, alternatively, as
Note that
If for any n there is a set of cardinality n which can be shattered by C, then for all n and the VC dimension of this class C is infinite.
A class with finite VC dimension is called a Vapnik–Chervonenkis class or VC class. A class C is uniformly Glivenko–Cantelli if and only if it is a VC class.