Lemma 26.8 (Massart): for a finite A = {a₁,…,a_N} ⊂ ℝ^m with mean ā, R(A) ≤ max_{a∈A} ‖a − ā‖ √(2 log N)/m
ProvedUnderstandingML.massart_lemmafinite-classesmassart-lemmarademacher-complexity
Lemma 26.8 (Massart lemma). Let be a finite set of vectors in . Define . Then
Formally: a nonempty finset, Euclidean norms written out.
Preamble
import Definitions.Def_UnderstandingML_Rademacher open MeasureTheory open scoped InnerProductSpace
Formal statement
namespace UnderstandingML
/-- **Lemma 26.8 (Massart lemma)** (p. 380). Let `A = {a₁, …, a_N}` be a finite set of vectors
in `ℝ^m`. Define `ā = (1/N) ∑ᵢ aᵢ`. Then `R(A) ≤ max_{a ∈ A} ‖a − ā‖ √(2 log(N)) / m`, with the
Euclidean norm. `A` is nonempty. -/
theorem massart_lemma {m : ℕ} (A : Finset (Fin m → ℝ)) (hA : A.Nonempty) :
rademacher (↑A : Set (Fin m → ℝ)) ≤
(⨆ a : A, Real.sqrt (∑ i, ((a : Fin m → ℝ) i - (∑ b ∈ A, b i) / A.card) ^ 2)) *
Real.sqrt (2 * Real.log A.card) / m := by sorry
end UnderstandingML
Source
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014, doi:10.1017/CBO9781107298019, §26.1.1 pp. 380-381, Lemma 26.8 with its proof
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.