Lesson 1: Making models smaller: quantise, prune, distil
29 min read·
Module 8 · Lesson 1 · About 55 minutes · Needs: the MLP and its training loop (Module 4 lesson 1), PR-AUC and the Brier score (Module 3 lesson 3), and the Kestrel data (course-guide/06).
The situation
Week 8 at Kestrel, Monday 21 December 2026. Model v2 is chosen; next week it goes into a scoring service. Rhys wants to know what each candidate model weighs and how fast it answers. Imran wants the cost per prediction. Adaeze sets the rule: "Smaller only counts if the late parcels still come out on top."
One parcel runs through the lesson: KP0104204 (simulated), collected from Dartford on Wednesday 2 September 2026 at 18:00, next-day service, a poor address. It arrived a day late. Every smaller model scores it, and you compare.