Learn Before
Using the Right Evaluation Set for Model Selection
Case context: A data science team trains several models, compares their results on a held-out test set, and then uses those same test results to choose the final model and tune its hyperparameters.
Question: What is wrong with this workflow, and what should the test set be used for instead?
Sample answer: The team is using the test set for decisions it should not influence. Model selection and hyperparameter tuning should be based on training or validation data, while the test set should be saved for a final, unbiased evaluation after all choices are finished.
Key points:
- Do not use the test set to choose among models.
- Do not use the test set to tune parameters.
- Use the test set only for final performance evaluation.
Rubric: The response must identify both improper uses of the test set—model selection and parameter tuning—and explain that the test set should be reserved for final evaluation.
0
1
Tags
D2L
Dive into Deep Learning @ D2L
Machine Learning
Deep Learning
Supervised Learning
Data Science
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
Dev and Test Splits Should Be Smaller for Very Large Datasets
A Test Set Large Enough for a Reliable Final Check
Test Set Size Should Enable Reliable Evaluation
Which use of a test set matches its intended role?
A final test set can measure performance without being used to choose model settings.
The held-out test set is used to _____ the final model’s performance on unseen data.
Match each holdout-set concept with its proper role.
Order the steps for deciding how a test set may be used.
What a test set is for, and what it is not for
Using the Right Evaluation Set for Model Selection
Test Set Purpose and Limits
Using the final holdout set appropriately
The test set should be used to choose the model you deploy.