Diagnose a training split for a retail shelf classifier.
Case context: A team is building a classifier that identifies product placements on store shelves. Their labeled training images mostly come from a public photo archive because those images are easy to download in large quantities. They randomly split those archive images 80%/20% into training and test sets.
Question: What problem should the team identify with this split, and why?
Sample answer: The split is likely misleading because both the training set and the test set come from the same archive-photo source, while the model will actually be used on photos taken by store employees on handheld devices. The archive images and the deployment images may differ in angle, lighting, clutter, and framing, so a strong score on the random split would not reliably predict real performance. The issue is a source mismatch between the evaluation data and the intended use environment.
Key points:
- Training and test images both come from the archive source
- Real use will involve handheld device photos from stores
- Random splitting does not address the source mismatch
- Test results may overstate real-world accuracy
Rubric: Full credit identifies the mismatch between archive images and handheld store photos, and explains that the split is misleading because it does not reflect the deployment distribution.
0
1
Tags
Machine Learning
Deep Learning
Machine Learning Strategy
Supervised Learning
Dive into Deep Learning @ D2L
Data Science
Machine Learning Yearning @ DeepLearning.AI
Related
Why can a random 70/30 train/test split be misleading in deployed machine-learning systems?
True or False: A random 70/30 split always creates a test set that matches the deployment distribution.
A Common Historical Train/Test Split
Match each data situation to whether a random 70/30 split is a good choice.
Order the steps for deciding whether a random split is appropriate.
Why a Random Split Can Mislead Under Distribution Shift
Diagnose a training split for a retail shelf classifier.
When is a random train/test split a poor evaluation choice?
When Can a Random 70/30 Split Be Misleading?
True or False: A 70/30 train/test split was a common default when datasets were much smaller than they are today.