Advertisement
Intermediate Machine Learning Fundamentals, Training vs Testing Data

What are common mistakes to avoid with Training vs Testing Data

Short answer

A common mistake is letting information from the test set leak into training, for example by scaling the entire dataset together before splitting, which gives falsely optimistic results.

Save Machine Learning Fundamentals mock interview
Advertisement
AModel answer
A common mistake is letting information from the test set leak into training, for example by scaling the entire dataset together before splitting, which gives falsely optimistic results.
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