Free Online Flashcard Deck

8 Overfitting and Generalization Free Online FlashCards

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

12 cards
01
Front

What is generalization in machine learning?

Back

Generalization is the ability to make accurate predictions on previously unseen data.

02
Front

What is overfitting?

Back

Overfitting occurs when a model learns training data too closely, including noise or accidental details, and performs worse on new data.

03
Front

What is underfitting?

Back

Underfitting occurs when a model fails to capture important patterns and performs poorly even on its training data.

04
Front

What performance pattern suggests overfitting?

Back

Good training performance paired with much worse validation performance suggests overfitting.

05
Front

What performance pattern suggests underfitting?

Back

Poor performance on both training and validation data suggests underfitting.

06
Front

Why can excessive model flexibility cause overfitting?

Back

Overfitting is more likely when a model is too flexible for the amount or quality of available data.

07
Front

How can you reduce overfitting?

Back

Reduce effective complexity: for example, limit tree depth, use fewer relevant features, apply regularization, or stop training early when validation performance stops improving.

08
Front

How can you address underfitting?

Back

Use a more suitable model or features, reduce excessive regularization, or train longer if training has not converged.

09
Front

How can more representative training data help generalization?

Back

More varied, representative training examples can help a model learn stable relationships instead of memorizing a small sample.

10
Front

What are the roles of training, validation, and test data?

Back

Train on training data, use validation data to compare models or tune settings, and reserve test data for final evaluation.

11
Front

Why should you avoid repeatedly tuning against the test set?

Back

Repeatedly choosing settings based on the test score can make that score overly optimistic, so keep the test set for final evaluation.

12
Front

How should you prevent leakage during data preparation?

Back

Split the data before preprocessing or feature selection so information from validation or test data cannot leak into training.