Learn Before
Essay

Explain why training and test datasets have different roles.

Question: In a concise analytical response, explain how the training dataset differs from the test dataset and why their uses should not be confused.

Sample answer: The learning algorithm runs on the training dataset and uses its examples to update model parameters. The test dataset, by contrast, is held out strictly for evaluation. Using these partitions for their distinct purposes separates the data used for learning from the data reserved to assess the model.

Key points:

  • The learning algorithm runs on the training dataset.
  • Training examples are used to update model parameters.
  • The test dataset is held out strictly for evaluation.
  • Training and evaluation data have distinct roles.

Rubric: A strong response clearly identifies the training set as learning data, states that it updates model parameters, identifies the test set as held-out evaluation data, and explains the significance of the distinction.

0

1

Updated 2026-07-20

Contributors are:

Who are from:

Tags

Deep Learning

Data Science

D2L

Dive into Deep Learning @ D2L

Machine Learning

Supervised Learning

Machine Learning Strategy

Machine Learning Yearning @ DeepLearning.AI