Beginner Topic 6 of 51 AI & Machine Learning
Training and Test Sets
Separating data used to learn from data used to evaluate.
How it works
Data is split into training (fit), validation (tune) and test (final unbiased estimate) sets, typically 70/15/15. Test data must never influence training.
Where it is used
Honest evaluation.
Common pitfall
Data leakage (e.g. duplicates across splits, future info) inflates scores.
Where it fits in the course
Training and Test Sets is topic 6 of 51 in AI & Machine Learning, rated Beginner. It follows Reinforcement Learning Basics. The next topic is Features and Labels.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the AI & Machine Learning quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the AI & Machine Learning quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Training and Test Sets?
Separating data used to learn from data used to evaluate. It belongs to AI & Machine Learning and is a beginner-level topic.
Where do people use Training and Test Sets?
Honest evaluation.
What is the most common mistake with Training and Test Sets?
Data leakage (e.g.
What should I learn before this topic?
Start with Reinforcement Learning Basics, the topic just before it in AI & Machine Learning.
How can I practice it?
Answer the mini quiz in the interactive lesson, then take the AI & Machine Learning quiz.
Is Training and Test Sets hard to learn?
It is a Beginner topic, so it works as an entry point. If the terms are new, read the explanation twice and try the visualizer before the quiz.
How long does it take to learn Training and Test Sets?
Most learners can read the explanation and finish the interactive lesson in under an hour. Fluency comes from applying the idea, so plan a few short practice sessions with the quiz.
Which topics are related to Training and Test Sets?
Reinforcement Learning Basics, Features and Labels, Unsupervised Learning are closely connected. The full list is in the related topics section of this page.
What should I study after Training and Test Sets?
Continue with Features and Labels, the next topic in AI & Machine Learning.
Related topics
- Reinforcement Learning Basics (AI & Machine Learning)
- Features and Labels (AI & Machine Learning)
- Unsupervised Learning (AI & Machine Learning)
- Linear Regression (AI & Machine Learning)
- Sets and Set Operations (Theory & Discrete Math)
- Test-Driven Development (Software Engineering)
- Sets (Programming Fundamentals)