Test Data

Category: Foundations of ML/AI

A held-out dataset used to evaluate a trained model's performance on unseen examples.

Full Explanation

Test data is a separate portion of a dataset that the model never sees during training, used to provide an unbiased evaluation of the final model's generalization ability. It simulates how the model will perform on real-world data it has not encountered before. Test data should be representative of the intended use case and must remain strictly separate from training and validation data to avoid data leakage. Performance metrics computed on test data, such as accuracy, F1 score, or BLEU score, indicate how well the model generalizes. Using test data during model selection or hyperparameter tuning invalidates its purpose. In practice, benchmark test sets like ImageNet and GLUE enable standardized comparison across models.

Related Terms

More in Foundations of ML/AI

Explore More