Lesson 1: Six core models on one parcel table
27 min read·
Module 3 · Lesson 1 · About 50 minutes · Needs: pandas, what a train/test split is, and the Kestrel data (course-guide/06). Module 1's logistic regression from scratch helps but is not required.
The situation
Week 3 at Kestrel. Adaeze wants one table before anyone tunes anything: "Every model family you would consider, trained and scored the same way. Then tell me which family v1 should be." Morag adds: "And tell me why it says what it says about a parcel."
The parcel that runs through this lesson is the one lesson 3 uses too: KP0104204 (simulated), collected from Dartford on Wednesday 2 September 2026 at 18:00, next-day service, 143 stops on its route, an address quality of 0.578. It arrived late.