How does class imbalance affect a logistic regression model, and what conceptual approaches would you use to address it?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks how class imbalance changes a logistic regression model's probabilities, threshold behavior and evaluation, and which approaches correct for it. Tests understanding of log-loss, metric choice, cost-based thresholds, class weights, resampling and recalibration.