Why is classification accuracy alone not considered a good measure in logistic regression problems?

Quick Overview

Asks why accuracy on its own is a weak way to evaluate a logistic regression classifier. It tests your grasp of class imbalance, unequal error costs, threshold choice, and when precision, recall, ROC-AUC, PR-AUC or log-loss give a truer picture.

Why is classification accuracy alone not considered a good measure in logistic regression problems?

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Why is classification accuracy alone not considered a good measure in logistic regression problems? ```hint Start from a baseline Compare your model with one that always predicts the majority class. Then think about what logistic regression outputs before any threshold turns it into a label. ``` ### What a Strong Answer Covers - How class imbalance lets a trivial model reach high accuracy - Why errors with different costs need different weights, and accuracy gives them all the same weight - That accuracy depends on a single threshold and throws away the predicted probabilities - Which metrics to use instead, and how the business goal decides among them ### Follow-up Questions - How would you pick a threshold for a logistic regression model when a false negative costs ten times as much as a false positive? - When would you prefer PR-AUC over ROC-AUC? - What does log-loss measure that ROC-AUC does not, and how would you check whether the predicted probabilities are calibrated?

Overview: Asks why accuracy on its own is a weak way to evaluate a logistic regression classifier. It tests your grasp of class imbalance, unequal error costs, threshold choice, and when precision, recall, ROC-AUC, PR-AUC or log-loss give a truer picture.

PracHub logo
General
Nov 25, 2026
easyData ScientistOtherMachine Learning
0
0

Why is classification accuracy alone not considered a good measure in logistic regression problems?

What a Strong Answer Covers Guidance

  • How class imbalance lets a trivial model reach high accuracy
  • Why errors with different costs need different weights, and accuracy gives them all the same weight
  • That accuracy depends on a single threshold and throws away the predicted probabilities
  • Which metrics to use instead, and how the business goal decides among them

Follow-up Questions Guidance

  • How would you pick a threshold for a logistic regression model when a false negative costs ten times as much as a false positive?
  • When would you prefer PR-AUC over ROC-AUC?
  • What does log-loss measure that ROC-AUC does not, and how would you check whether the predicted probabilities are calibrated?