How can you sort validation mistakes into model and metric problems?
Question: When you review every mistake made on a validation set, how can you decide whether each case points to a model-training problem or to a scoring/metric problem? Explain the check using the ideal output and the system output .
Sample answer: Go through all validation errors one by one. For each case, compute the score for the ideal output, , and the score for the model’s output, . If , then the model should have been able to do better under this scoring rule, so classify that error as a model-training or optimization issue. If , then the scoring rule is not separating the ideal output from the model output in that case, so classify it as a scoring-function issue.
Key points:
- Review the full set of validation errors, not just a few examples.
- Compare the score of the ideal output with the score of the model output for each error.
- Label cases where the ideal output scores higher as model-training issues.
- Label cases where the ideal output does not score higher as scoring-function issues.
Rubric: The answer should explain that every validation error is checked, is compared with , and the result is used to separate model-training issues (when ) from scoring-function issues (when ).
0
1
Tags
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Data Science
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
Focus on the Scoring Model When Most Errors Come from It
When Is a Dev-Set Error Attributed to Optimization?
True or False: If the best achievable development-set score is already no better than the current system's score, the optimization algorithm is the main problem.
A development-set example is counted as a mistake by the _____ metric when it lowers the score used to tune the model.
Which condition indicates that a wrong development-set example is an optimization problem rather than a scoring problem?
If the development set is easier than the test set because the examples come from different sources, improving development accuracy may fail to improve test performance.
When the evaluation score prefers the wrong output, the dev-set issue is a _____ error.
Match each verification expression to its meaning.
Order the steps for deciding whether each development-set mistake points to the optimizer or the scoring rule.
What does Score_A(S*) ≤ Score_A(S_out) indicate in dev set analysis?
A troubleshooting method can start by analyzing one example and then be extended to every error in the development set.
Meaning of T* in an Optimization Check
Match each diagnosis label to its role in separating search problems from scoring problems.
Put the validation analysis steps in the correct order after reviewing example-level errors.
How can you sort validation mistakes into model and metric problems?
Using a Development-Set Check to Separate Search Problems from Metric Problems
When does a verification test point to a scoring problem?