Free Online Flashcard Deck

7 Model Evaluation Free Online FlashCards

Study 7 Model Evaluation with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What roles do training, validation, and test data serve?

Back

Training data fits the model, validation data supports model comparison and tuning, and a separate test set provides a final, relatively unbiased performance estimate.

02
Front

What is a regression residual?

Back

A residual is the actual value minus the predicted value: ei=yi−y^ie_i = y_i - \hat{y}_i.

03
Front

What does classification accuracy measure?

Back

Accuracy is the fraction of predictions that are correct: TP+TNTP+FP+TN+FN\frac{TP+TN}{TP+FP+TN+FN}.

04
Front

What does a classification threshold control?

Back

A threshold converts classifier scores or probabilities into labels. Changing it changes the confusion matrix and usually trades precision against recall; choose it on validation data.

05
Front

Why should the test set not guide repeated model choices?

Back

Repeatedly using the test set to make choices can make its performance score overly optimistic.

06
Front

What does mean absolute error measure?

Back

MAE is the average absolute residual, 1n∑i∣ei∣\frac{1}{n}\sum_i |e_i|. It is in the outcome’s units and is less affected by a few very large errors than squared-error measures.

07
Front

How is mean squared error calculated, and what does squaring do?

Back

MSE is the average squared residual, 1n∑iei2\frac{1}{n}\sum_i e_i^2. Squaring gives large errors more weight, and the measure is in squared outcome units.

08
Front

What is RMSE, and how does it treat large errors?

Back

RMSE is the square root of MSE, MSE\sqrt{\text{MSE}}. It is in the outcome’s units and gives extra weight to large errors.

09
Front

How should common values of R2R^2 be interpreted?

Back

R2=1R^2=1 indicates perfect predictions; R2=0R^2=0 matches the test-set-mean baseline; a negative value is worse than that baseline. It is not an error in outcome units.

10
Front

Why can accuracy mislead when classes are imbalanced?

Back

With rare positive cases, a model can achieve high accuracy by predicting every case as negative while finding no positives. Class-specific measures reveal this weakness.

11
Front

What does precision measure, and when might it be prioritized?

Back

Precision is the fraction of predicted positives that are truly positive: TPTP+FP\frac{TP}{TP+FP}. Prioritize it when false alarms or unnecessary interventions are costly.

12
Front

What does recall measure, and when might it be prioritized?

Back

Recall is the fraction of actual positives found: TPTP+FN\frac{TP}{TP+FN}. Prioritize it when missing a positive case is costly.