Case Study

Diagnose classifier performance using the four-dataset evaluation framework.

Case context: A practitioner is training a classifier where the training data and the dev/test data are drawn from different distributions. The practitioner sets up four separate datasets: a training set, a training dev set, a dev set, and a test set.

Question: Based on the four-dataset evaluation framework, explain what diagnosing performance on the training set, training dev set, and the dev and/or test sets respectively reveals about the classifier.

Sample answer: Evaluating on the training set reveals the training error. Evaluating on the training dev set reveals the algorithm's ability to generalize to new data drawn from the training-set distribution. Evaluating on the dev and/or test sets reveals the algorithm's performance on the target task.

Key points:

  • The training set is used to evaluate training error.
  • The training dev set is used to evaluate generalization to new data from the training distribution.
  • The dev and/or test sets are used to evaluate performance on the target task.

Rubric: The response must correctly identify that: 1. Training set evaluation measures training error. 2. Training dev set evaluation measures generalization to new data from the training distribution. 3. Dev and/or test set evaluation measures performance on the target task.

0

1

Updated 2026-06-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