Skip to main content

Posts

Showing posts from February, 2022

Feature Scaling

Let's begin with a famous saying... "Five Fingers are Never Equal".  Yes, we have heard it a lot, it's true in every case, even in Data Science and Machine Learning... The very first step in the journey of Data Science begins with Data Collection, and this is where we knowingly or unknowingly collect some data which are different in size, units etc. which makes the data vary and inconsistent data. In case we collect the vehicle data we might have the top speed in MPH, distance covered in KM, dimensions of the vehicle in CM/Inch, Model No. with no unit etc.  Sample data for Feature Scaling Thus, when we take this type of raw data and directly pass it through our Machine Learning Algorithms, it will give inconsistent results as the Machine understands no. only and not the units. So, it might give more weightage to the length of the car (1300mm) than the mileage of the car(30kmpl).   What is Feature Scaling? We have seen some quick info about the problem statement, now l