How do you ensure you’re not overfitting with a model?

Data Science Interview QuestionsCategory: Data ScienceHow do you ensure you’re not overfitting with a model?
1 Answers
Best Answer
MockInterview Staff answered 7 years ago

More reading: How can I avoid overfitting? (Quora)
This is a simple restatement of a fundamental problem in machine learning: the possibility of overfitting training data and carrying the noise of that data through to the test set, thereby providing inaccurate generalizations.
There are three main methods to avoid overfitting:
1- Keep the model simpler: reduce variance by taking into account fewer variables and parameters, thereby removing some of the noise in the training data.
2- Use cross-validation techniques such as k-folds cross-validation.
3- Use regularization techniques such as LASSO that penalize certain model parameters if they’re likely to cause overfitting.
Source: Springboard

Your Answer

3 + 18 =