Essay

Describe how training error, generalization, and target-task performance are evaluated in a four-dataset framework.

Question: When training and dev/test data come from different distributions, we use a four-dataset evaluation framework. Analyze the distinct evaluation purposes of the training set, the training dev set, and the dev and/or test sets, explaining how each helps diagnose the algorithm's performance.

Sample answer: The four-dataset framework evaluates different aspects of performance. The training set is used to evaluate training error. The training dev set evaluates the algorithm's ability to generalize to new data drawn from the training set distribution. Finally, the dev and/or test sets evaluate the algorithm's performance on the task you care about.

Key points:

  • Evaluating on the training set measures the training error.
  • Evaluating on the training dev set measures generalization to new data drawn from the training set distribution.
  • Evaluating on the dev and/or test sets measures performance on the target task you care about.

Rubric: The candidate must explain the specific evaluation purpose for each of the three groups: training set (training error), training dev set (generalization to training set distribution), and dev/test sets (performance on the target task).

0

1

Updated 2026-06-07

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