ML glossary › Test set
What is test set in machine learning?
Examples hidden during learning, used at the end to check the model fairly.
Where it shows up
Foundations
Training and test sets
Set aside about 20% as a test set and lock it away. The other 80% is the training set. The model never sees the test examples while learning.
See test set in motion. The lesson animates it step by step, free.
Open the lessonRelated terms
- Training set: The examples the model is allowed to learn from.
- Validation set: A second hidden set used to tune settings, so the test set stays untouched.