What is the difference between standardization (z-score scaling) and min-max scaling?

Quick Overview

Asks how standardization (z-score scaling) differs from min-max scaling for numeric features. Tests knowledge of both formulas, how a single outlier affects each, which models need which kind of scaling, and how to fit a scaler without leaking test data.

What is the difference between standardization (z-score scaling) and min-max scaling?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is the difference between standardization (z-score scaling) and min-max scaling? ```hint Write both formulas Note which statistics of the feature each formula depends on, then imagine adding one extreme value to the data. ``` ### What a Strong Answer Covers - The formula for each method and the range of values it produces - How a single outlier affects each method, and what to use when outliers are heavy - Which models and situations call for each, and which models need no scaling at all - Fitting the scaler on training data only, and what happens to test values outside the training range ### Follow-up Questions - A feature is heavily right-skewed, such as income. Does either scaler fix that? What would you do instead? - Why does PCA need features on a common scale, and which scaler would you pick for it? - In production, a value comes in above the training maximum, so its min-max scaled value is greater than 1. Is that a problem, and how would you handle it?

Overview: Asks how standardization (z-score scaling) differs from min-max scaling for numeric features. Tests knowledge of both formulas, how a single outlier affects each, which models need which kind of scaling, and how to fit a scaler without leaking test data.

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

What is the difference between standardization (z-score scaling) and min-max scaling?

What a Strong Answer Covers Guidance

  • The formula for each method and the range of values it produces
  • How a single outlier affects each method, and what to use when outliers are heavy
  • Which models and situations call for each, and which models need no scaling at all
  • Fitting the scaler on training data only, and what happens to test values outside the training range

Follow-up Questions Guidance

  • A feature is heavily right-skewed, such as income. Does either scaler fix that? What would you do instead?
  • Why does PCA need features on a common scale, and which scaler would you pick for it?
  • In production, a value comes in above the training maximum, so its min-max scaled value is greater than 1. Is that a problem, and how would you handle it?