What is Overfitting?

Overfitting happens when a machine learning model has become too attuned to the data on which it was trained and therefore loses its applicability to any other dataset. The model is so specific to the original data that trying to apply it to data collected in the future would result in problematic or erroneous outcomes and therefore less-than-optimal decisions.

Here is the difference between a properly fitted and overfitted model:


Source: Quora

This model is not going to be useful unless we apply it to the exact same dataset because no other data will fall exactly along the overfitted line.

Why is Overfitting important?

Overfitting causes the model to misrepresent the data it learned from. An overfitted model will be less accurate on new, similar data than a model which is more generally fitted, but the overfitted one will appear to have a higher accuracy when you apply it to the training data. With no protection against overfitting, model developers might train and deploy a model they think is highly accurate, when in fact it will underperform in production when given new data.

Deploying an overfitted model can cause all kinds of problems. For example, if you think your model is 95% accurate in predicting the likelihood of loan default when in reality it’s overfitted and has an accuracy somewhere closer to 60%, applying it to future loan decisions will result in the loss of business that would otherwise have been profitable and more dissatisfied customers.

Overfitting + DataRobot

The DataRobot automated machine learning platform protects from overfitting at every step in the machine learning life cycle using techniques like training-validation-holdout (TVH), data partitioning, N-fold cross validation, and stacked predictions for in-sample model predictions from training data. DataRobot incorporates the expertise of top-ranked data scientists and automates the fitting process so that you can focus on picking the most relevant model for your business problem without questioning its practical accuracy.