Math 2.0

Combinatorics Definition

VC dimension

Builds on Family of setsPower setIntersection

Definition

Let XX be a set and let ℱ\mathcal{F} be a family of subsets of XX. A finite set S⊆XS \subseteq X is shattered by ℱ\mathcal{F} if the set of intersections {A∩S:A∈ℱ}\set{A \cap S : A \in \mathcal{F}} is the whole power set of SS. The VC dimension of ℱ\mathcal{F} is the supremum of ∣S∣|S| over all finite sets S⊆XS \subseteq X shattered by ℱ\mathcal{F}. If ℱ\mathcal{F} is nonempty, the empty set is shattered, so the VC dimension is a nonnegative integer or ∞\infty.

Remarks

Example: let X=ℝX = \R and let ℱ\mathcal{F} be the family of closed intervals [a,b][a, b] with a≤ba \le b. The set {0,1}\set{0, 1} is shattered: the intersections ∅\emptyset, {0}\set{0}, {1}\set{1}, {0,1}\set{0, 1} come from [5,6][5, 6], [0,0][0, 0], [1,1][1, 1] and [0,1][0, 1]. No set {p<q<r}\set{p < q < r} is shattered, because an interval that contains pp and rr contains qq. So the VC dimension is 22.

Non-example: for the same family, the set {0,1,2}\set{0, 1, 2} is not shattered, since the pattern {0,2}\set{0, 2} fails the condition A∩S={0,2}A \cap S = \set{0, 2} for every interval AA.

The family of all subsets of an infinite set has VC dimension ∞\infty. The half-planes in ℝ2\R^2 have VC dimension 33.

Reading path

To understand this page from the ground up, read these 8 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Element definition
  2. Family of sets concept
  3. Power set concept
  4. Proposition concept
  5. Set definition
  6. Conjunction definition
  7. Intersection definition
  8. VC dimension definition

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Vapnik–Chervonenkis_dimension
About this page
Tag14HX3QF45H
URIm2://14HX3QF45H
Kinddefinition
WritingW0 stub
MSC05D05, 68Q32
DefinesVC dimension
UsesFamily of sets, Power set, Intersection
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by