Amazon interview question

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

Interview Answer

Anonymous

12 Sept 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.