The examples are kept out of training and out of the instructions, so the result shows how the system handles cases it has not seen. If the same examples are used to build the system and to judge it, the score flatters it.
For a business tool, a test set can be fifty real questions with the answers a competent person would give. Running it again after each change to the model, the instructions or the documents shows whether anything got worse. The risk framework from the U.S. National Institute of Standards and Technology asks that test sets and measures be documented.
- Also called
- holdout set, evaluation set
- How you’ll hear it
- “The assistant passed forty-six of the fifty questions in the test set, and the four misses were all about leave.”
- Often confused with
- Training data, which is what a system learns from. A test set is kept apart so that it can judge what was learned.
- A question to ask
- What is in the test set, and who decided what a right answer looks like?
- Related terms
- Read more
- Sources
- U.S. National Institute of Standards and Technology, AI Risk Management Framework: Core
The example is fictional. This is general guidance, not advice for your situation.