Skip to content
M.U.N.U.O.Data × AI × Systems

Machine Learning Foundations

Training, Validation, and Test Sets

Module 3 of 10

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
  1. Define the task. Train on the first year of revenue, validate on the next quarter and test on the following quarter.
  2. Identify the key idea. Training fits parameters.
  3. Check your decision. Describe an alternative and how you would compare its results.

Knowledge check

Which split fits parameters?

Which split supports model selection?

How should forecasts be evaluated?