What is Overfitting?
Overfitting occurs when a model learns the detail and noise in the training data to the extent that it negatively impacts the performance of the model on new data.
Solutions
- Cross-Validation: Use K-Fold to ensure model generalization.
- Regularization: Add L1 (Lasso) or L2 (Ridge) penalties.
- Simplify the Model: Reduce features or tree depth.