~/talk

Common pitfalls leading to wrongly estimated model performance

Talkat PyData Eindhoven 2019 · 2019-11-16..11-19· [testing]
links:none on file
slides:none on file

Common mistakes that make performance look better than it really is: using the validation set for model selection so validation becomes training and introduces selection bias; leaking future or target information via feature engineering such as target leakage via categorical encoding or unnoticed duplicates; violating IID with time drift so a random k‑fold lies and instead use time‑windowed cross‑validation or nested CV; measure how performance scales with training size and verify pipelines (scikit‑learn) by shuffling targets.

AI-written summary · about

  1. 0:00Model performance evaluation
  2. 1:08Understanding generalization in machine learning
  3. 5:26Validation sets fail
  4. 7:56Separate test set
  5. 10:25Balancing data splits
  6. 11:28K-fold cross-validation
  7. 12:31Nested cross-validation
  8. 14:21IID assumption
  9. 15:46Time-series IID violations
  10. 17:15Time windowing validation
  11. 18:40Training size bias
  12. 19:02Underestimating with bias
  13. 20:46Duplicate records impact
  14. 21:49Target leakage
  15. 24:39Detecting leakage
  16. 26:03Validation simulates use
  17. 26:45Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.