Recall & Review
beginner
What is overfitting in machine learning?
Overfitting happens when a model learns the training data too well, including noise and details that don't apply to new data. This makes it perform poorly on unseen data.
Click to reveal answer
beginner
Why do we need to evaluate a model on data it hasn't seen before?
Evaluating on new data shows if the model can generalize well. It helps us check if the model learned useful patterns or just memorized the training data.
Click to reveal answer
intermediate
What is the role of a validation set in preventing overfitting?
A validation set is separate data used during training to tune the model. It helps detect overfitting early by showing if the model's performance drops on unseen data.
Click to reveal answer
intermediate
How does cross-validation help in proper evaluation?
Cross-validation splits data into parts and trains multiple models on different parts. This gives a better estimate of how the model will perform on new data, reducing overfitting risk.
Click to reveal answer
beginner
What happens if you only check model accuracy on training data?
You might think the model is perfect, but it could just be memorizing. This hides overfitting and leads to poor results on real-world data.
Click to reveal answer
What does overfitting mean?
Why use a validation set?
What is cross-validation?
What risk do you face if you evaluate only on training data?
Proper evaluation helps to:
Explain in your own words why evaluating a model on new data helps prevent overfitting.
Describe how cross-validation works and why it is useful for proper model evaluation.