When training a model, we face a fundamental balance between simplicity and complexity.
- Underfitting occurs when a model is too simple to capture the underlying pattern.
- Overfitting occurs when a model is so complex that it memorizes the random noise in the training set.