Amazon Interview Question

Explain how you would handle an imbalanced dataset in a classification problem.

Interview Answer

Anonymous

Sep 12, 2025

I explained approaches like oversampling, undersampling, using class weights, and ensemble methods. I also discussed evaluating performance using metrics like F1-score and AUC instead of accuracy.