Question
A production churn Pipeline combines one-hot encoded categorical features with numeric account features. Engineers add StandardScaler after the final VectorAssembler and find that sparse category indicators are being scaled along with continuous values. What is the best redesign?