Can a classifier with high bias in its predicted probabilities still achieve zero classification error?

Quick Overview

Asks whether a classifier whose predicted probabilities are systematically biased can still reach zero classification error. Tests understanding of 0-1 loss versus probability metrics, decision thresholds, Bayes error and calibration.

Can a classifier with high bias in its predicted probabilities still achieve zero classification error?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Can a classifier with high bias in its predicted probabilities still achieve zero classification error? Here "bias in its predicted probabilities" means the model's scores $\hat p(x)$ are systematically far from the true conditional probabilities $P(y=1 \mid x)$, and classification error is the fraction of wrong labels after the scores are thresholded. ```hint What 0-1 loss looks at Write down how a predicted probability becomes a label. Ask which properties of $\hat p(x)$ survive that step and which are thrown away. ``` ```hint Check the edges Think about when zero error is possible for any classifier on a given problem, and which evaluation metrics would still see the gap between $\hat p(x)$ and the true probability. ``` ### What a Strong Answer Covers - A direct answer tied to how classification error is computed from thresholded probabilities. - A concrete numeric example of biased probabilities and the error they produce. - The condition on the data distribution under which zero error is reachable at all. - The metrics and downstream uses that still expose the biased probabilities. - How to repair the probabilities, and what that repair does or does not change about the labels. ### Follow-up Questions - The decision threshold must move from 0.5 to 0.3 because false negatives became expensive. What happens to this model's error, and what does that say about calibration? - What is the model's ROC AUC in your example, and why can ranking metrics miss the problem as well? - Under 0-1 loss, how do the bias and variance of the probability estimate combine, and how does that differ from squared loss? - After Platt scaling or isotonic regression on a held-out set, can accuracy at a 0.5 threshold go up or down?

Overview: Asks whether a classifier whose predicted probabilities are systematically biased can still reach zero classification error. Tests understanding of 0-1 loss versus probability metrics, decision thresholds, Bayes error and calibration.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Can a classifier with high bias in its predicted probabilities still achieve zero classification error?

Here "bias in its predicted probabilities" means the model's scores p^(x)\hat p(x) are systematically far from the true conditional probabilities P(y=1∣x)P(y=1 \mid x), and classification error is the fraction of wrong labels after the scores are thresholded.

What a Strong Answer Covers Guidance

  • A direct answer tied to how classification error is computed from thresholded probabilities.
  • A concrete numeric example of biased probabilities and the error they produce.
  • The condition on the data distribution under which zero error is reachable at all.
  • The metrics and downstream uses that still expose the biased probabilities.
  • How to repair the probabilities, and what that repair does or does not change about the labels.

Follow-up Questions Guidance

  • The decision threshold must move from 0.5 to 0.3 because false negatives became expensive. What happens to this model's error, and what does that say about calibration?
  • What is the model's ROC AUC in your example, and why can ranking metrics miss the problem as well?
  • Under 0-1 loss, how do the bias and variance of the probability estimate combine, and how does that differ from squared loss?
  • After Platt scaling or isotonic regression on a held-out set, can accuracy at a 0.5 threshold go up or down?