9

Normalization and Standardization

Feature scaling, normalization, and standardization are essential preprocessing steps that help ensure that machine learning models can effectively learn from data. These techniques address issues related to numerical stability, algorithm convergence, model performance, and more, ultimately contributing to better, more reliable results in data analysis and machine learning tasks.

In this chapter, we will dive deep into the following topics:

  • Scaling features to a range
  • Z-score scaling
  • Robust scaling

Technical requirements

You can find all the code for this chapter at https://github.com/PacktPublishing/Python-Data-Cleaning-and-Preparation-Best-Practices/tree/main/chapter09.

The different code files follow ...

Get Python Data Cleaning and Preparation Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.