introduction to machine learning tuning nested resampling
play

Introduction to Machine Learning Tuning: Nested Resampling - PowerPoint PPT Presentation

Introduction to Machine Learning Tuning: Nested Resampling compstat-lmu.github.io/lecture_i2ml NESTED RESAMPLING Just like we can generalize holdout splitting to resampling to get more reliable estimates of the predictive performance, we can


  1. Introduction to Machine Learning Tuning: Nested Resampling compstat-lmu.github.io/lecture_i2ml

  2. NESTED RESAMPLING Just like we can generalize holdout splitting to resampling to get more reliable estimates of the predictive performance, we can generalize the training/validation/test approach to nested resampling . This results in two nested resampling loops, i.e., resampling strategies for both tuning and outer evaluation. � c Introduction to Machine Learning – 1 / 6

  3. NESTED RESAMPLING Assume we want to tune over a set of candidate HP configurations λ i ; i = 1 , . . . with 4-fold CV in the inner resampling and 3-fold CV in the outer loop. The outer loop is visualized as the light green and dark green parts. � c Introduction to Machine Learning – 2 / 6

  4. NESTED RESAMPLING In each iteration of the outer loop we: Split off the light green testing data Run the tuner on the dark green part of the data, e.g., evaluate each λ i through fourfold CV on the dark green part � c Introduction to Machine Learning – 3 / 6

  5. NESTED RESAMPLING In each iteration of the outer loop we: Return the winning λ ∗ that performed best on the grey inner test sets Re-train the model on the full outer dark green train set Evaluate it on the outer light green test set � c Introduction to Machine Learning – 4 / 6

  6. NESTED RESAMPLING The error estimates on the outer samples (light green) are unbiased because this data was strictly excluded from the model-building process of the model that was tested on. � c Introduction to Machine Learning – 5 / 6

  7. NESTED RESAMPLING - INSTRUCTIVE EXAMPLE Taking again a look at the motivating example and adding a nested resampling outer loop, we get the expected behavior: 0.50 nested resampling Tuned Performance resampling 0.45 data_dim 0.40 50 100 0.35 250 500 0.30 100 200 300 400 500 Amount of tried hyperparameter configurations � c Introduction to Machine Learning – 6 / 6

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend