Case Study

Attributing errors in a berry detector and ripeness classifier pipeline

Case context: You are analyzing a pipeline with a berry detector followed by a ripeness classifier. In one example, the detector returns a badly framed crop of a ripe strawberry. The ripeness classifier receives that crop and incorrectly outputs y=0, meaning no berry is present. However, a trained person looking at the same crop can still easily tell that it is a strawberry.

Question: Based on this situation, explain how you should attribute the error, and describe when your attribution choice will have little effect on the overall error analysis.

Sample answer: This error is ambiguous because the detector produced a poor crop, but a human can still identify the strawberry, so the classifier also appears to have failed on a recognizable image. You may attribute the mistake to the detector, to the classifier, or to both. The exact choice has little impact on the final error analysis if only a small number of cases are this ambiguous, because the overall counts will be nearly the same either way.

Key points:

  • The detector made a poor crop, but a person can still recognize the berry.
  • The error can be assigned to the detector, the classifier, or both.
  • The attribution choice matters very little when such ambiguous cases are rare.

Rubric: The response must: 1) identify that the attribution is ambiguous between the berry detector and the ripeness classifier, 2) state that the error may be assigned to the detector, the classifier, or both, and 3) explain that the decision has minimal effect if the number of ambiguous cases is small.

0

1

Updated 2026-08-12

Contributors are:

Who are from:

Tags

Machine Learning

Deep Learning

Supervised Learning

Dive into Deep Learning @ D2L

Data Science

Machine Learning Strategy

Machine Learning Yearning @ DeepLearning.AI

Related