When would you choose robust scaling over standardization?

Quick Overview

Compare robust scaling (median and IQR) with standardization (mean and standard deviation) for preparing numeric features. Tests how outliers distort each scaler, which models are sensitive to feature scale, and when clipping or log and quantile transforms are needed.

When would you choose robust scaling over standardization?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

When would you choose robust scaling over standardization? Both methods rescale a numeric feature before it reaches a model. Explain how they differ and when robust scaling is the better choice. ```hint Add one extreme value Take nine ordinary values plus one very large one, and work out the center and scale each method would use. ``` ### What a Strong Answer Covers - The formula for each scaler and the statistics it relies on - Why outliers inflate the standard deviation and squeeze the typical points together - The data and models where robust scaling helps, and where standardization is fine - What robust scaling does not fix, and alternatives such as clipping or log and quantile transforms ### Follow-up Questions - A feature has an IQR of zero because most of its values are identical. What does robust scaling do, and what would you use instead? - How do clipping, a log transform and a quantile transform compare for a heavy-tailed feature? - Does the choice of scaler matter for gradient-boosted trees? - How do you keep the scaling statistics from leaking information from the test set?

Overview: Compare robust scaling (median and IQR) with standardization (mean and standard deviation) for preparing numeric features. Tests how outliers distort each scaler, which models are sensitive to feature scale, and when clipping or log and quantile transforms are needed.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

When would you choose robust scaling over standardization?

Both methods rescale a numeric feature before it reaches a model. Explain how they differ and when robust scaling is the better choice.

What a Strong Answer Covers Guidance

  • The formula for each scaler and the statistics it relies on
  • Why outliers inflate the standard deviation and squeeze the typical points together
  • The data and models where robust scaling helps, and where standardization is fine
  • What robust scaling does not fix, and alternatives such as clipping or log and quantile transforms

Follow-up Questions Guidance

  • A feature has an IQR of zero because most of its values are identical. What does robust scaling do, and what would you use instead?
  • How do clipping, a log transform and a quantile transform compare for a heavy-tailed feature?
  • Does the choice of scaler matter for gradient-boosted trees?
  • How do you keep the scaling statistics from leaking information from the test set?