VC dimension and Littlestone dimension #
A set shattered by C (cslib's PACLearning.SetShatters) gives a complete mistake tree: label
the nodes at depth j with the j-th point of the set (hasMistakeTree_of_setShatters).
Hence the VC dimension is at most the Littlestone dimension (vcDim_le_littlestoneDim), and so at
most the optimal mistake bound [Littlestone1988, §3, Theorem 4]. In particular a class of infinite
VC dimension has infinite Littlestone dimension. With the halving bound this gives the chain
vcDim C ≤ littlestoneDim C ≤ ⌊log₂ |C|⌋ for finite classes. Both inequalities are tight for the
class of all Boolean functions on a finite domain (littlestoneDim_univ). The first can be far
from tight: see CslibFrontier.MachineLearning.OnlineLearning.MistakeBound.Thresholds.
cslib's vcDim is 0, not infinite, for classes of infinite VC dimension. For those classes
vcDim_le_littlestoneDim is trivial, and littlestoneDim_eq_top_of_not_hasFiniteVCDim is the
meaningful statement.
Main results #
Cslib.MachineLearning.OnlineLearning.MistakeBound.hasMistakeTree_of_setShatters: a shattered set of sizedgives a completed-mistake tree.Cslib.MachineLearning.OnlineLearning.MistakeBound.vcDim_le_littlestoneDim: the VC dimension is at most the Littlestone dimension.Cslib.MachineLearning.OnlineLearning.MistakeBound.vcDim_le_optimalMistakeBound: [Littlestone1988, §3, Theorem 4].Cslib.MachineLearning.OnlineLearning.MistakeBound.littlestoneDim_eq_top_of_not_hasFiniteVCDim: infinite VC dimension forces infinite Littlestone dimension.Cslib.MachineLearning.OnlineLearning.MistakeBound.littlestoneDim_univ: all Boolean functions on a finite domainαhave Littlestone dimension|α|.
References #
- [N. Littlestone, Learning quickly when irrelevant attributes abound: a new linear-threshold algorithm][Littlestone1988]
A finite set W shattered by C gives a complete mistake tree of height |W|
[Littlestone1988, §3, proof of Theorem 4].
The VC dimension is at most the Littlestone dimension.
[Littlestone1988, §3, Theorem 4]: the VC dimension is at most the optimal mistake bound.
A class of infinite VC dimension has infinite Littlestone dimension.
The class of all Boolean functions on a finite domain α has Littlestone dimension |α|: the
whole domain is shattered, and there are 2 ^ |α| functions.