Advertisement
Beginner Machine Learning Fundamentals, Overfitting & Underfitting

What is Overfitting & Underfitting

Short answer

Overfitting happens when a model learns the training data too closely, including its noise, and performs poorly on new data. Underfitting happens when a model is too simple to capture the real patterns in the data.

Save Machine Learning Fundamentals mock interview
Advertisement
AModel answer
Overfitting happens when a model learns the training data too closely, including its noise, and performs poorly on new data. Underfitting happens when a model is too simple to capture the real patterns in the data.
Real-world example
A student who memorizes exact exam questions without understanding the topic is like an overfit model, while a student who barely studies at all is like an underfit model.
Likely follow-ups
  • What is regularization, What is the bias variance tradeoff, What is cross validation
Related topics