Case Study

Diagnose a field-to-test mismatch in apple inspection photos

Case context: A team trains a model to detect bruising on apples from photos. In production, the photos are taken by workers using handheld phones in dim storage rooms. However, the dev and test sets mostly contain bright, carefully staged lab photos.

Question: What is the main problem with the current evaluation setup, and what should the team do to correct it?

Sample answer: The dev/test sets do not reflect the distribution the model will face in real use. The team should rebuild the dev and test sets so they better match the actual production photos.

Key points:

  • The production photos are different from the dev/test photos.
  • The evaluation data is not representative of the real operating conditions.
  • The dev and test sets should be updated to match the real data distribution more closely.

Rubric: The student must identify that the dev/test set is not representative of the real data and recommend updating the dev/test sets.

0

1

Updated 2026-08-12

Contributors are:

Who are from:

Tags

Machine Learning

Deep Learning

Machine Learning Strategy

Supervised Learning

Dive into Deep Learning @ D2L

Data Science

Machine Learning Yearning @ DeepLearning.AI