How would you adjust a deployed classifier's predicted probabilities when class priors shift but the class-conditional feature distributions stay the same?

Last updated 14 November 2026

  • Under pure label shift (p(x | y) unchanged), multiply each class probability by π_new(y)/π_old(y) and renormalize. In binary form this adds a constant to the logit.

  • Estimate new priors without labels via EM (Saerens et al.) or Black Box Shift Estimation using the validation confusion matrix.

  • The base model must be calibrated first. If only decisions matter, shifting the threshold is equivalent, and the fix fails if p(x | y) also changes.

  • https://github.com/dcai-course/dcai-course/blob/master/_2024/imbalance-outliers-shift.md
All Supervised Learning interview questions