Knowledge Sprint SeriesMT24 Learning

Phase 9 · Summary · Sprints 26–30 of 90

Classical Machine Learning

Floors, learners, a penalty and a bound: five sprints on rules that hold on new data, every number rerun in code.

5 sprints, 5 code runsVerified sourcesOne phase project

Phase 9 summary, a one-page catalog: Classical Machine Learning. The full text of the page follows.
Full resolution2160 × 2700 PNGPhase on GitHub

The part of the image you are reading lights up. Tap a part to jump to its text.

Figure in words

  • A dark code window with two small plots
  • purple dots above and green dots below a dashed line · width > 1.6
  • a U-shaped error curve with its lowest point ringed, above a rising lighter curve · CV error by α
  • five tags beside it: Rule · Floor · Learners · Penalty · Bound

The Sprints

Learning a Rule

Memory answered 6 of 30 new flowers; one cut on petal width got 27.

Sprint 26

Baselines First

“Always no” scores 0.900 on rare 9s. Balanced accuracy says 0.500.

Sprint 27

Three Learners

Line, box, neighbourhood. Unscaled, 5-NN fell from 0.944 to 0.704.

Sprint 28

Penalty & Folds

Ridge on 65 terms: CV error 4 027 → 3 047. The 1-SE rule picks α = 100.

Sprint 29

Why It Generalises

Best of a million noise rules: 78.6% “right”. Bound on its gap: 0.354.

Sprint 30

Now I Can Outcome

Set a floor, choose a learner by its assumption, tune α by CV, bound the gap.

Mistakes Avoided Lessons

Accuracy on rare classes, unscaled k-NN, a CV score reused as a grade.

Phase Project

One dataset end to end: a floor, three learners, α tuned by 5-fold CV, and a bound for the rule kept.

R Trusted Sources

  1. Vapnik 1991
  2. Holte 1993
  3. Cover & Hart 1967
  4. Tibshirani 1996
  5. Hoeffding 1963

The Sprint Pages

  1. Sprint 26/90Supervised Learning: From Examples to a RuleRemembering every example is easy. Learning is answering the one I have not seen.
  2. Sprint 27/90Baselines FirstA score means nothing until I know what doing nothing would have scored.
  3. Sprint 28/90Three Classical Learners: Linear, Tree & NeighboursEach learner draws the border its assumption allows: a line, a box, a neighbourhood.
  4. Sprint 29/90Regularisation & Cross-ValidationFree to fit anything, a model fits the noise too. A penalty, priced by cross-validation, holds it back.
  5. Sprint 30/90Statistical Learning Theory: Why Learning GeneralisesGeneralising means luck cannot pass for skill: few enough rules, many enough examples.

Cite this phase

Tahri, M. (2026). MT24 Learning — Knowledge Sprint Series, Phase 9: Classical Machine Learning (Version 1.0) [Educational resource]. Zenodo. https://doi.org/10.5281/zenodo.23240712

Version DOI 10.5281/zenodo.23240712 · all versions 10.5281/zenodo.23240711 · first published 4 October 2026