Advertisement
Beginner Machine Learning Fundamentals, Training vs Testing Data

What is Training vs Testing Data

Short answer

Training data is the data used to teach a machine learning model, while testing data is a separate set used to check how well the model performs on examples it has never seen before.

Save Machine Learning Fundamentals mock interview
Advertisement
AModel answer
Training data is the data used to teach a machine learning model, while testing data is a separate set used to check how well the model performs on examples it has never seen before.
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