Rademacher complexity of binary classes #
A binary concept class C becomes a class of {-1, +1}-valued functions signClass C through
Cslib.BitString.signVal. On a sample S of m points its functions realize at most
growthFunction C m restriction patterns, so Massart's lemma bounds its empirical Rademacher
complexity by √(2 log Π_C(m) / m) [MohriRostamizadehTalwalkar2018, Corollary 3.8]. Sauer's lemma
(Cslib.MachineLearning.PACLearning.growthFunction_le_exp_one_mul_div_pow) turns this into
√(2 d log (e m / d) / m) for a class whose shattered sets have at most d ≤ m points
[MohriRostamizadehTalwalkar2018, Corollary 3.18 and the proof of Corollary 3.19], and into
√(2 d log (m + 1) / m) for every m.
Main definitions #
Cslib.MachineLearning.signClass: the{-1, +1}-valued functionssignVal ∘ cforc ∈ C.
Main results #
Cslib.MachineLearning.mem_signClass,Cslib.MachineLearning.signClass_singleton: membership, and the sign class of a single concept.Cslib.MachineLearning.empiricalRademacherComplexity_signClass_le,Cslib.MachineLearning.rademacherComplexity_signClass_le: the growth-function bound.Cslib.MachineLearning.empiricalRademacherComplexity_signClass_le_vc,Cslib.MachineLearning.rademacherComplexity_signClass_le_vc: the bound√(2 d log (e m / d) / m)ford ≤ m.Cslib.MachineLearning.empiricalRademacherComplexity_signClass_le_add_one: the bound√(2 d log (m + 1) / m).
References #
- M. Mohri, A. Rostamizadeh, A. Talwalkar, Foundations of Machine Learning, 2nd ed., Corollaries 3.8 and 3.18
The {-1, +1}-valued functions x ↦ signVal (c x) of a binary concept class C.
The growth-function bound [MohriRostamizadehTalwalkar2018, Corollary 3.8]: the empirical
Rademacher complexity of signClass C on m points is at most √(2 log Π_C(m) / m).
The VC bound [MohriRostamizadehTalwalkar2018, Corollaries 3.8 and 3.18]: if every finite
set shattered by C has at most d ≤ m points, the empirical Rademacher complexity of
signClass C on m points is at most √(2 d log (e m / d) / m).
The polynomial VC bound: if every finite set shattered by C has at most d points, the
empirical Rademacher complexity of signClass C on m points is at most
√(2 d log (m + 1) / m).
The growth-function bound for the Rademacher complexity [MohriRostamizadehTalwalkar2018, Corollary 3.8].
The VC bound for the Rademacher complexity [MohriRostamizadehTalwalkar2018, Corollaries 3.8 and 3.18].