VC Dimension & Computational Learning Theory: Why Some Models Generalize
Every practical rule of thumb this track has given about model complexity has a formal justification. This is it.
Advanced
2³ = 8
possible ways to label them pass/fail, and for every single one of those 8 labelings, some
straight line correctly separates the passes from the fails. Straight lines shatter this set
of 3 points.
d features have VC dimension d + 1. It's a single number that
captures how expressive — how much it can "memorize" arbitrary labelings — a hypothesis class
really is, independent of any specific dataset.
| Where this track already covered it | What it's really doing to VC dimension |
|---|---|
| Decision Trees — max depth / min samples per leaf | caps how many distinct labelings the tree family can represent at all |
| Regularization — lambda | shrinks the effective size of the weight space being searched, even though the raw hypothesis class (all linear boundaries) stays the same |
| Support Vector Machines — C and gamma | controls how tightly the boundary can bend, i.e. how close the effective hypothesis class gets to something with unbounded VC dimension |