Day 10 - Overfitting in Predictive Models
Overfitting
It is a modeling error that occurs when the model aligns very closely to the data points which used to train the model. As a result, the model fails to perform well with other data points. It becomes useful for the training g data set only. This happens when the model is trained for too long or if the model is complex.
( In Regression)
(In Classification)
Low bias and High variance are indicators of overfitting. In order to detect the presence of overfitting, a part of the training dataset is set aside as a test set to check for overfitting. The training accuracy will be higher than that of testing accuracy.
How to avoid Overfitting
Below are a number of techniques that you can use to prevent overfitting:- Early Stopping
- Train with more data
- Data augmentation
- Feature selection
- Regularization
- Ensemble methods
Read more
Comments
Post a Comment