Back to M1 — Regularized Regression + Validation Discipline

Leakage Control + GroupKFold Lab

Outcome: implement GroupKFold; name 3 leakage sources. Curated video (7:19, verified 2026-09-24 via yt-dlp): Stop User Leakage: Group Splits (Professor Py: AI Foundations) Watch: https://www.youtube.com/watch?v=MnuSEB1Yihg Notes: User-level leakage: same entity must never span train/test. Group splits (sklearn GroupKFold / GroupShuffleSplit) as the fix. Lab: implement GroupKFold; name 3 leakage sources (entity overlap, temporal leak, target-derived features). Key moments: No chapter markers on source; key beats: leakage demo, group-split fix, GroupKFold usage.

7 minutesVideo LessonPDF notes
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.

Ready to continue?

Mark this lesson as complete when you're ready to proceed.

PDF notes

How was this lesson?

Your feedback helps us refine explanations and catch bugs.