Lesson 2: Neighbours, groups, maps, forecasts and oddities
29 min read·
Module 3 · Lesson 2 · About 50 minutes · Needs: lesson 1 (the split and PR-AUC), pandas, and the Kestrel data (course-guide/06). Module 1 lesson 1 covers PCA's maths.
The situation
Lesson 1 answered one question: will this parcel be late? Others at Kestrel ask different ones. Morag: "Which routes behave alike, so planners can share fixes?" and "How many late parcels tomorrow, so I know how many spare vans to hold?" Tomasz: "Can something tell me when a depot-day looks wrong before anyone complains?"
Each gets a different tool on the same simulated data. KP0104204 (Dartford, 2 September, 18:00, late) and its route DAR-R28 stay the running example.