~/talk

You Should Probably Be Doing Nested Cross-Validation

Talkat PyData Miami 2019 · 2019-01-09..01-11· [machine-learning, testing]
slides:none on file

Claim: nested cross-validation gives much less biased, lower-variance estimates of final model performance on small datasets than a single train/validation/test split. Demonstrates scikit-learn code using GridSearchCV inside an outer cross_val_score loop, shows typical settings like 5–10 inner folds and 4–10 outer folds, and measures resulting spread (several percent) across outer-test folds. Notes cost multiplies by number of outer folds but is embarrassingly parallel, and suggests ensembling models from outer folds or using nested CV for medical/small-data cases.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Why standard CV fails
  3. 3:13Validation set bias
  4. 6:03How k-fold CV helps
  5. 8:30Single test set limits
  6. 11:42Introducing nested cross-validation
  7. 13:08Computational cost
  8. 14:54Practical applications
  9. 17:19When to use nested CV
  10. 18:22Summary
  11. 18:55Q&A
~/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.