Learning objectives
- Explain the ideas behind training, validation, and test sets.
- Apply the ideas to the example and identify how you would check the result.
Concepts
Training fits parameters. Validation helps you choose hyperparameters. Hold the test set back for a final evaluation. If order matters, split by time so the model never learns from the future.
Practical example
Train on the first year of revenue, validate on the next quarter and test on the following quarter.
Try the exercise
- Define the task. Train on the first year of revenue, validate on the next quarter and test on the following quarter.
- Identify the key idea. Training fits parameters.
- Check your decision. Describe an alternative and how you would compare its results.