Jargonautica
Measuring Performance

Training, Validation and Test Sets

Also called: Validation Set, Test Set, Holdout Set

The three-way split of your data that makes any performance claim meaningful. The training set is what the model learns from. The validation set is what you check against while you are still tuning things. The test set is held back and looked at once, at the end. Skip this discipline and you will produce impressive numbers that mean nothing.

Technical view

Typical splits run from 60/20/20 to 80/10/10 depending on data volume. The validation set guides model selection and hyperparameter tuning, and because it influences those choices, performance on it is optimistically biased, which is why a separate untouched test set is needed. Splits must respect structure in the data: time series require chronological splits, and grouped data must be split by group so that the same patient, customer or document never appears on both sides. Repeated peeking at the test set turns it into a validation set and the guarantee is gone.


Part of AI Terminology Index, section: Measuring Performance.

How it connects

Training, Validation and Test Sets links to 11 other terms. The faint lines are links between those terms. See it in the full graph.

OverfittingOverfittingData LeakageData LeakageBenchmarks and EvalsBenchmarks and EvalsCross-validationCross-validationRegularisation and DropoutRegularisation and …Supervised LearningSupervised LearningHyperparametersHyperparametersGeneralisationGeneralisationTime Series ForecastingTime Series Forecas…Active LearningActive LearningRegression to the MeanRegression to the M…Training, Validation and Test Sets