Why do logistic regression fits differ between scikit-learn and statsmodels?
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Explain why the same logistic regression can give different coefficients in scikit-learn and statsmodels, and how to make the two fits agree. Tests knowledge of default regularization, intercept handling, solver convergence, separation, and the split between predictive and inferential tooling.