How do you evaluate the performance of a Logistic Regression model?

Quick Overview

Asks how to evaluate a logistic regression classifier, covering ranking metrics, decisions at a threshold and the quality of its predicted probabilities. Tests metric choice under class imbalance, threshold selection, calibration checks and sound validation.

How do you evaluate the performance of a Logistic Regression model?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

How do you evaluate the performance of a Logistic Regression model? Assume a binary classifier that outputs a predicted probability for each case. ```hint Separate the uses of the output The model's scores can be used to rank cases, to make yes or no decisions at a cutoff, or as probabilities in their own right. Each use needs its own check. ``` ```hint Try a rare positive class Ask what each metric you name would report if only 1% of cases were positive and the model predicted "negative" for everyone. ``` ### What a Strong Answer Covers - Threshold-independent ranking metrics, and which one to prefer when positives are rare - Threshold-dependent metrics from the confusion matrix, and how to choose the threshold - Checks on the quality of the predicted probabilities, including calibration - A validation setup that gives honest numbers, plus sanity checks on the coefficients ### Follow-up Questions - The model's ROC-AUC is 0.92 but its PR-AUC is 0.18. What does that tell you, and which would you report to the business? - You trained with class weights to handle imbalance. What happens to the predicted probabilities, and how would you correct them? - How would you pick a decision threshold when a false negative costs ten times as much as a false positive? - How would you test whether adding a group of features improves the model by more than chance?

Overview: Asks how to evaluate a logistic regression classifier, covering ranking metrics, decisions at a threshold and the quality of its predicted probabilities. Tests metric choice under class imbalance, threshold selection, calibration checks and sound validation.

Nov 24, 2026
mediumData ScientistOtherMachine Learning
0
0

How do you evaluate the performance of a Logistic Regression model? Assume a binary classifier that outputs a predicted probability for each case.

What a Strong Answer Covers Guidance

  • Threshold-independent ranking metrics, and which one to prefer when positives are rare
  • Threshold-dependent metrics from the confusion matrix, and how to choose the threshold
  • Checks on the quality of the predicted probabilities, including calibration
  • A validation setup that gives honest numbers, plus sanity checks on the coefficients

Follow-up Questions Guidance

  • The model's ROC-AUC is 0.92 but its PR-AUC is 0.18. What does that tell you, and which would you report to the business?
  • You trained with class weights to handle imbalance. What happens to the predicted probabilities, and how would you correct them?
  • How would you pick a decision threshold when a false negative costs ten times as much as a false positive?
  • How would you test whether adding a group of features improves the model by more than chance?