Tech x Talent

Insights at the intersection of tech and talent.

Follow publication

Member-only story

How to Normalize the data in Python

Harish Maddukuri
Tech x Talent
Published in
3 min readApr 12, 2022

Two of the best ways to normalize the input data in python with sklearn

Photo by Luke Chesser on Unsplash

In this post, I’ll try to explain how to Normalize the data in the simplest way possible.

What is Normalization?

Normalization is the process of scaling down data(in simple words). Usually while normalizing we change the scale of the data to fall between 0–1.

What is the need for Normalization?

Machine learning models or Artificial neural networks often benefit substantially from input normalization. It also makes it easier to understand the importance of each feature later, when looking at the model weights.

Normally, we need a preparation that aims to facilitate the network optimization process and maximize the probability of obtaining good results.

Normalization also makes the training process less sensitive to the scale of the features. This results in getting better coefficients after training.

This process of making features more suitable for training by rescaling is called feature scaling.

The formula for Normalization is given below :

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Responses (1)

Write a response