Learning Theory: Cheat Sheet
The whole topic compressed for the night before the exam.
Concept learning
- binary attributes give objects, and therefore concepts.
- Conjunctive concepts number . For that is , down from 256.
- Find-S - start from
h = Ø; for each positive example, pairwise-AND, generalizing to?wherever the values differ. It ignores negatives and returns the most specific hypothesis. - Version space - the set of all hypotheses consistent with the training data, meaning for every .
PAC learning
- PAC-learnable means the above holds in time polynomial in , , and . Probably () Approximately () Correct.
- True error is the probability of misclassifying an instance drawn from .
- ε-exhausted version space - every in the version space has error below .
- Haussler: .
VC dimension
- The finite- bound fails for infinite , which is where VC dimension takes over.
- shatters if it realizes all dichotomies of .
- = the largest set can shatter. For finite , .
| Hypothesis class | VC dimension |
|---|---|
| Interval on the real line | 2 |
Linear surfaces / perceptron in ℝʳ | r + 1 (a line in 2D gives 3) |
Conjunction of n literals | n |
Sine wave a · sin(bx) | ∞, on only 2 parameters |
Big against small means overfitting. A constrained , or a large , means low training error really does imply low generalization error.
Provenance: two VC-Dimension decks exist (Lec60 plus an alternate); both are merged here, including the alternate deck's bias-variance and generalization-bound material. The numeric examples on these pages - VC of an interval = 2, VC of a hyperplane in the plane = 3, and the sample-complexity bound - were independently recomputed and verified.