in Data Science by
What are the differences between over-fitting and under-fitting?

1 Answer

0 votes

In statistics and machine learning, one of the most common tasks is to fit a model to a set of training data, so as to be able to make reliable predictions on general untrained data.


In overfitting, a statistical model describes random error or noise instead of the underlying relationship. Overfitting occurs when a model is excessively complex, such as having too many parameters relative to the number of observations. A model that has been overfitted, has poor predictive performance, as it overreacts to minor fluctuations in the training data.

Underfitting occurs when a statistical model or machine learning algorithm cannot capture the underlying trend of the data. Underfitting would occur, for example, when fitting a linear model to non-linear data. Such a model too would have poor predictive performance.

Related questions

0 votes
asked Jan 21, 2020 in Data Science by sharadyadav1986
0 votes
asked Jun 2 in Xamarin Exordium by sharadyadav1986
0 votes
asked Mar 13 in PySpark by rajeshsharma