Learn Before
Concept

Training on the Test Set

The methodological flaw known as training on the test set occurs when a test dataset is repeatedly used to evaluate and select models, inadvertently causing the model to overfit to the test data. To mitigate this issue, standard practice requires splitting the original data into three separate partitions by introducing a distinct validation set, which is used exclusively for hyperparameter tuning while keeping the true test set completely unseen.

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L