Overview - Overfitting and underfitting
What is it?
Overfitting and underfitting describe how well a machine learning model learns from data. Overfitting happens when a model learns too much detail, including noise, making it bad at new data. Underfitting happens when a model learns too little, missing important patterns. Both cause poor predictions on data the model hasn't seen before.
Why it matters
These problems matter because they affect how useful a model is in real life. If a model overfits, it looks perfect on training data but fails in practice. If it underfits, it never learns enough to be helpful. Without understanding these, models would be unreliable, wasting time and resources and possibly causing wrong decisions.
Where it fits
Before learning this, you should know basic machine learning concepts like training data, models, and predictions. After this, you can learn about techniques to fix these problems, like regularization, cross-validation, and model selection.