Learn Before
Different Purposes of Training and Test Data
Question: In a brief analytical response, describe how a training set is used differently from a test set and why those roles must stay separate.
Sample answer: A model is fitted using the training set, where the examples drive parameter updates during learning. The test set is reserved for a later check of how well the finished model performs on unseen data. Keeping these datasets separate prevents the evaluation from being influenced by information used during fitting.
Key points:
- The model is fitted on the training set.
- Training examples drive parameter updates.
- The test set is saved for a later evaluation.
- The two datasets serve different purposes.
Rubric: A strong response explains that the training set is for fitting the model, says that it changes the model’s parameters, identifies the test set as a reserved evaluation set, and states why separating the two matters.
0
1
Tags
Deep Learning
Data Science
D2L
Dive into Deep Learning @ D2L
Machine Learning
Supervised Learning
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
Nonparametric Models
Fashion-MNIST Dataset
Definition of Realizable Dataset
What does a training set do in supervised learning?
The training set is used only for final evaluation.
Dataset Used for Model Fitting
Match each dataset concept with its correct description.
Order the steps for building an image training set.
Different Purposes of Training and Test Data
Use labeled data to fit the model, not to score it
What role does a training set play in model training?
Which data split should be used to update the model’s weights?
A training set can contain examples from both classes in a binary classification task.