What is the danger of applying PCA before a tree-based model like Random Forest or XGBoost?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks what can go wrong when PCA is applied to features before training a tree model such as Random Forest or XGBoost. Tests understanding of axis-aligned splits, variance versus predictive value, categorical and missing features, interpretability, and when the projection still helps.