7 questionsOverfitting 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
Machine Learning Fundamentals Deep Learning Supervised & Unsupervised Learning
Both problems lead to a model that does not generalize well, which means it gives unreliable predictions once used in the real world. Understanding them helps you build models that actually work outside of training.
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
Machine Learning Fundamentals Deep Learning Supervised & Unsupervised Learning
Overfitting is detected when training accuracy is high but testing accuracy is much lower. Underfitting is detected when both training and testing accuracy are low, meaning the model has not learned enough.
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
Machine Learning Fundamentals Deep Learning Supervised & Unsupervised Learning
The key related ideas are model complexity, the bias variance tradeoff, and regularization, which is a technique used to control overfitting.
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
Machine Learning Fundamentals Deep Learning Supervised & Unsupervised Learning
A common mistake is making a model more and more complex to chase higher training accuracy, which usually makes overfitting worse instead of helping the real performance.
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
Machine Learning Fundamentals Deep Learning Supervised & Unsupervised Learning
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.
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
Machine Learning Fundamentals Deep Learning Supervised & Unsupervised Learning
Use techniques like cross validation, regularization, and simpler models when data is limited, and always compare training performance against testing performance to catch these issues early.
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
Machine Learning Fundamentals Deep Learning Supervised & Unsupervised Learning