Advertisement
Beginner Machine Learning Fundamentals, Training vs Testing Data

Why is Training vs Testing Data important in Machine Learning Fundamentals

Short answer

Separating training and testing data is important because it shows whether a model actually learned useful patterns or just memorized the training examples. Without this split you cannot trust the reported accuracy.

Save Machine Learning Fundamentals mock interview
Advertisement
AModel answer
Separating training and testing data is important because it shows whether a model actually learned useful patterns or just memorized the training examples. Without this split you cannot trust the reported accuracy.
Real-world example
A bank builds a loan approval model on data from the last five years and tests it on the most recent six months of applications to see how it would have performed in practice.
Likely follow-ups
  • What is a validation set, What is cross validation, What is overfitting
Related topics