Q2Machine Learning
Question
2 marks
Define overfitting in machine learning.
Answer
Overfitting occurs when a model learns the training data too well, capturing noise and failing to generalize.
Overfitting is a modeling error that occurs when a function is too closely fit to a limited set of data points. It results in high accuracy on the training set but poor performance on unseen test data.