Validation Set
A part of the dataset used to check the model during training to tune settings. The model is not trained on these data.
Three Data Parts
| Part | Purpose |
|---|---|
| Train | Train the model |
| Validation | Tune settings, monitor overfitting |
| Test | Final evaluation — once at the end |
Why Separate
If settings are tuned on test data, the test will 'leak' into the process and cease to be fair. The validation set takes on this role, keeping the test untouched.
Role in Fighting Overfitting
When the error on train decreases and on validation starts to increase — the model is overfitting. This is a signal for early stopping.