Example 10.1: ERM over decision stumps is a 1/12-weak learner for the class of 3-piece classifiers over ℝ
ProvedUnderstandingML.stumps_weakly_learn_three_piecedecision-stumpsermweak-learning
Example 10.1 (Weak Learning of 3-Piece Classifiers Using Decision Stumps). Let and let be the class of 3-piece classifiers (, ), equal to on or and to on . Let be the class of decision stumps . Then is a γ-weak learner for , for : for every distribution consistent with there is a decision stump with , and since , with enough examples returns with probability at least a hypothesis with error at most .
Formally: there is one sample-size function such that every ERM learner over the decision stumps is a -weak learner for the 3-piece classifiers with .
Preamble
import Definitions.Def_UnderstandingML_Boosting open MeasureTheory
Formal statement
namespace UnderstandingML
/-- **Example 10.1** (pp. 132–133). Let `X = ℝ`, `H` the class of 3-piece classifiers and `B`
the class of decision stumps. Then `ERM_B` is a γ-weak learner for `H` with `γ = 1/12`: for
every distribution consistent with `H` some decision stump has error at most `1/3`, and since
`VCdim(B) = 2`, with enough examples the `ERM_B` rule returns, with probability at least
`1 − δ`, a hypothesis with error at most `1/3 + 1/12 = 1/2 − 1/12`. Stated for every ERM
learner over the stumps, with one sample-size function. -/
theorem stumps_weakly_learn_three_piece :
∃ mH : ℝ → ℕ, ∀ A : Learner (ℝ × Bool) (ℝ → Bool), IsERMLearner loss01 decisionStumps A →
IsWeakLearnerWith threePieceClassifiers (1 / 12) A mH := 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.1 Example 10.1 pp. 132-133
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.