Gradient LabSign up free

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 lesson

Related terms