Normalization of data in Jupyter Notebook

Logix_Quest
2 min readAug 6, 2020

--

Deep Learning for beginners.

Normalization is a technique often applied as part of data preparation for machine learning. The goal of normalization is to change the values of numeric columns in the dataset to a common scale, without distorting differences in the ranges of values. For machine learning, every dataset does not require normalization. So let’s start in jupyter notebook.

Firstly, we import libraries.

importing libraries

After importing libraries, we load a dataset. You can load dataset of any kind like txt file. But here I’m using .csv file.

.csv file

Now to view it, we call it by name as shown below.

loading dataset

We can modify the names of columns.

modifying names of columns

To view overall description of data, we use describe method.

data description

Readers! this is a brief article on the normalization of data. If you like my article, don’t forget to clap. For more knowledge, you can subscribe my YouTube channel, like my Facebook page and follow my website. Links are given below.

YouTube Channel : https://www.youtube.com/channel/UCVwcTX-Jt5UmXOtvlx0d_QA?sub_confirmation=1

Website : http://www.easywayofengineering.wordpress.com/

Facebook page : https://web.facebook.com/amina5101

Thank You.

--

--

Logix_Quest
Logix_Quest

No responses yet