Compare Logistic Regression and Random Forest in Python
Company: Capital One
Role: Data Scientist
Category: Machine Learning
Difficulty: medium
Interview Round: Technical Screen
Overview: Compare logistic regression and random forest for a binary classification problem implemented in Python. Cover preprocessing pipelines, regularization, nonlinear interactions, leakage-safe validation, class imbalance, calibration, threshold choice, and production trade-offs.
Read the full Capital One Data Scientist interview experience this question came from