Free Online Flashcard Deck

8 Generalization and Overfitting Free Online FlashCards

Study 8 Generalization and Overfitting with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What does it mean for a model to generalize?

Back

A model generalizes when it makes useful predictions on examples it did not train on.

02
Front

What is overfitting?

Back

Overfitting occurs when a model fits training data closely, including noise or peculiarities, but performs substantially worse on new data.

03
Front

What is underfitting?

Back

Underfitting occurs when a model is too limited or insufficiently trained to capture important patterns, so it performs poorly on both training and new data.

04
Front

What score pattern suggests a useful fit?

Back

Good training and validation performance with a modest gap suggests a useful fit that may generalize.

05
Front

What can help an underfitting model?

Back

Try a more expressive model, useful features, or a better training procedure, and check that training is adequate.

06
Front

How can regularization help with overfitting?

Back

Reduce model complexity, remove unhelpful features, or use regularization, which penalizes complexity. L2 regularization discourages excessively large weights.

07
Front

What roles should validation data and a test set serve?

Back

Use validation data or cross-validation to compare models and settings; reserve a separate test set for final evaluation.

08
Front

How can you prevent preprocessing data leakage?

Back

Split data before learning preprocessing steps. Fit transformations such as scaling or imputation on training data only, then apply them to validation and test data.

09
Front

Why is training performance alone insufficient to assess generalization?

Back

Training performance alone cannot show whether a model learned broadly applicable patterns or memorized details of its training data.

10
Front

When can a test set estimate performance on future data?

Back

A held-out test set estimates future performance when its examples are relevant to intended use and the data distributions are sufficiently similar.

11
Front

What score pattern often signals overfitting?

Back

Strong training performance paired with much weaker validation performance is a common sign of overfitting.

12
Front

How can a high-degree polynomial overfit a small, noisy dataset?

Back

A high-degree polynomial may pass through every point in a small, noisy training set yet bend sharply between points and predict poorly on new observations.