Intro to Biostatistics
Overfitting occurs when a statistical model or machine learning algorithm captures noise along with the underlying pattern in the data, resulting in a model that performs well on training data but poorly on unseen data. This happens when a model is too complex, containing too many parameters relative to the amount of data available, leading it to learn the details and fluctuations of the training set rather than the general trends.
congrats on reading the definition of overfitting. now let's actually learn it.