Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M12890

Validation Set

Validation Set
Learn & MetacognitionHigh supportLearning Science
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

A common task in machine learning is to learn from data and build a model (a process called training) that can make predictions on future data. The dataset used to build the final model is typically split into multiple subsets; at different stages of model building, there are usually three types of datasets: training set, validation set, and test set. First, the model is fitted on the training dataset. For supervised learning, the training set consists of samples used to fit parameters (e.g., weights of connections between neurons in an artificial neural network). In practice, the training set is usually composed of pairs of input vectors (scalars) and output vectors (scalars), where the output vector (scalar) is called the target or label. During training, the current model makes predictions for each sample in the training set and compares the predictions with the targets. Based on the comparison results, the learning algorithm updates the model...

Definition

Data split: training set / validation set / test set. Purpose: hyperparameter tuning and model selection, not used for final evaluation. Prevent overfitting: the model cannot 'see' the data used for final evaluation. Scaffold use: ensure the model's generalization ability. Performing well on 'known data' doesn't count; it must also perform well on 'unseen data'.

How to use

Ensure the model's generalization ability. Performing well on 'known data' doesn't count; it must also perform well on 'unseen data'.

Mechanism

The validation set is a subset of data used during training for hyperparameter tuning, model selection, and early stopping, separated from the training set to avoid test set leakage. It estimates the model's performance on data that has been 'seen' but not used for training.

Practice

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • When training neural networks, use validation loss for early stopping; use the validation set for cross-validation to select models.

Common pitfalls

  • Repeatedly tuning hyperparameters on the validation set as if it were the test set, leading to optimistic estimates of generalization (validation leakage); ignoring distribution shift.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E8%AE%AD%E7%BB%83%E9%9B%86%E3%80%81%E9%AA%8C%E8%AF%81%E9%9B%86%E5%92%8C%E6%B5%8B%E8%AF%95%E9%9B%86ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS