Theorem 10.2: if every round of AdaBoost has εₜ ≤ 1/2 − γ, the training error of its output is at most exp(−2γ²T)
ProvedUnderstandingML.adaboost_training_erroradaboostboostingtraining-error
Theorem 10.2. Let be a training set and assume that at each iteration of AdaBoost, the weak learner returns a hypothesis for which . Then the training error of the output hypothesis of AdaBoost is at most
Formally: for and weak hypotheses with in every round (the weight is undefined at ), the empirical 0–1 risk of adaBoost S h T is at most .
Preamble
import Definitions.Def_UnderstandingML_Boosting open MeasureTheory
Formal statement
namespace UnderstandingML
/-- **Theorem 10.2** (p. 135). Let `S` be a training set and assume that at each iteration of
AdaBoost the weak learner returns a hypothesis for which `εₜ ≤ 1/2 − γ`. Then the training error
of the output hypothesis of AdaBoost is at most
`L_S(h_s) = (1/m) ∑ᵢ 𝟙[h_s(xᵢ) ≠ yᵢ] ≤ exp(−2γ²T)`.
Stated with `γ > 0` and `εₜ > 0` (the weight `wₜ = ½ log(1/εₜ − 1)` is undefined at `εₜ = 0`). -/
theorem adaboost_training_error {X : Type*} {m : ℕ} (S : Fin m → X × Bool) (h : ℕ → X → Bool)
(T : ℕ) {γ : ℝ} (hγ : 0 < γ)
(hε : ∀ t < T, 0 < adaError S h t ∧ adaError S h t ≤ 1 / 2 - γ) :
empRisk loss01 S (adaBoost S h T) ≤ Real.exp (-(2 * γ ^ 2 * T)) := 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, §10.2 pp. 135-137, Theorem 10.2 with its proof
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.