Skip to main content
Module 6 · Lesson 3 of 529/56 in the course~20 min
Module lessons (3/5)

Scaling and normalization

Lesson preview5 hands-on exercises readyMachine Learning: from first principles to practice · Module 6 — Data preparation and pipelines

Standard, min-max and robust scaling, and log transforms for skewed data.

What you'll learn in this lesson

  • Choose between standardisation, min-max scaling and robust scaling.
  • See how an outlier breaks some scalers.
  • Reduce the skew of a heavy-tailed feature with a log transform.

Overview

You met standardisation in module 3. It is not the only option, and the best choice depends on the data.

IQR is the interquartile range: the distance between the 25th and 75th percentiles.

Sections covered in this lesson

  1. 1The hook: not all scaling is the same
  2. 2Try it: interactive scaling & gradient contour lab
  3. 3Skewed features: take the logarithm
  4. 4When scaling matters (and when it does not)
  5. 5Progressive examples: choosing and verifying a scaler
  6. 6Practice
Pro Lesson · Module 6 — Data preparation and pipelines

Unlock "Scaling and normalization" and the full Machine Learning: from first principles to practice curriculum

Standard, min-max and robust scaling, and log transforms for skewed data.

Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.

  • Instant access to all advanced modules in Machine Learning: from first principles to practice plus 17 more courses
  • Hands-on browser exercises with automated test suites and solutions
  • 14-day money-back guarantee processed via Paddle.com

14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.