Training, Validation, and Test Boundaries

Separate parameter fitting, model selection, and final measurement, and split examples at the unit where future generalization matters.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Each set supplies different information to the training process
  2. Related rows can need one shared split

Each set supplies different information to the training process

Training fits model parameters. Validation can select regularization, preprocessing choices and thresholds. A held-out test estimates performance of the resulting choice under its target sampling assumptions. Repeatedly changing the model after seeing test results incorporates that data into selection, even when the examples never enter gradient updates.

Related rows can need one shared split

If several photographs depict the same device, putting them in different splits may evaluate memorizing devices rather than generalizing to new ones. Split by device when deployment sees unseen devices. Time-based evaluation may instead train on earlier periods and test later ones to match the intended decision. Record which fitted transforms only saw training data. Data leakage describes common ways those boundaries fail. Cross-validation repeats some evaluation boundaries for smaller samples.[1][2]

References

  1. Gareth James et al., An Introduction to Statistical Learning ↩
  2. Trevor Hastie, Robert Tibshirani and Jerome Friedman, The Elements of Statistical Learning ↩