โ† All Data Science Flashcard Decks

Model Performance and Evaluation Flashcards

7 cards from real Data Science practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Model Performance and Evaluation flashcards as text
  1. For a regression model, which metric penalizes large errors more heavily because it squares the residuals?

    Answer: Mean Squared Error (MSE)

    MSE squares residuals, so larger errors contribute disproportionately more to the total.

  2. R-squared of 0.0 in a regression model indicates the model:

    Answer: Explains no more variance than predicting the mean

    An R-squared of 0 means the model does no better than always predicting the target mean.

  3. When tuning hyperparameters, why should you use a separate validation set rather than the test set?

    Answer: To avoid leaking test information and overly optimistic estimates

    Tuning on the test set leaks information and inflates the final reported performance.

  4. A model's predicted probabilities are systematically too confident. Which technique addresses this?

    Answer: Probability calibration (e.g., Platt scaling)

    Calibration methods like Platt scaling or isotonic regression align predicted probabilities with observed frequencies.

  5. In the bias-variance tradeoff, a model that is too simple to capture the underlying pattern exhibits:

    Answer: High bias, low variance

    An overly simple model underfits, showing high bias and low variance.

  6. Which metric is most appropriate when both false positives and false negatives carry costs and classes are imbalanced?

    Answer: F1 score

    F1 balances precision and recall, making it suitable for imbalanced data where both error types matter.

  7. A precision-recall curve is generally preferred over an ROC curve when:

    Answer: The positive class is rare (highly imbalanced)

    PR curves are more informative than ROC curves when the positive class is rare.