Normalization and Standardization | Why to Scale the Features? | ML Basics
Skills:
ML Maths Basics80%
Key Takeaways
Normalization and Standardization techniques for feature scaling in Machine Learning
Full Transcript
hi and welcome back the topic of this video is data scaling often raw data comes with features that have vastly different ranges for example attendance rates reflecting the proportion of days an employee attends work out of the total available days job satisfaction ratings ranging from 0 to 10 salary which can range from 0 to infinity and let's say debt amounts which can vary from negative Infinity to positive Infinity see how different the scales are data scaling is the process of transforming our data so that different features are on a similar scale if you decide to train a machine learning model that relies on distance calculations like K nearest neighbors or support Vector machines the features having larger scales will dominate the calculations the same applies to neural networks but in a different way varying scales can seriously affect the training process thus even for powerful neural networks data scaling is essential the two most popular scaling methods used a lot in machine learning are minmax scaling and standardization minmax scaling or normalization scales data into the range of negative - 1 to positive 1 or 0 to 1 the resulting range is fixed and all values are proportionally scaled between maximum and minimum values preserving their relative distances useful for cases that require a fixed range for instance RGB images consist of pixels that range from 0 to 255 by scaling it from 0 to one you maintain a consistent scale across all pixel values however it is very sensitive to outliers let's imagine this data as we can see because of one outlier the whole data is concentrated into a small portion of the range making it harder for models to distinguish between them effectively standardization on the other hand converts the data to have zero mean and one standard deviation so unlike minmax scaling It Centers the data and normalizes the spread standardized scale is not bounded so you may have any value but with most values concentrated in -3 to positive3 range while many sources are indicating that outliers do not affect standardization it is not true it is still sensitive to outliers let's see how I have generated a normally distributed data that looks like this and here is the standardized version of it in each iteration I am going to add an outlier and standardize it to see how the distribution changes compared to the original data as we can see the data is becoming skewed and eventually ends up concentrating into a small portion the selection of these two data scaling methods is often not very critical while in some scenarios one method is preferred over the other one we will not go through it in this video but if you don't want to miss such educational videos follow us if you want to learn more about artificial intelligence subscribe to our channel to be aware of the new videos press the like button and let's discuss AI in the comments section
Original Description
#ai #ml #artificialintelligence #learning #coding #machinelearning #datascience
🔥 Normalization and Standardization are the most popular scaling methods used in Machine Learning. But why we scale our features? Raw data often comes with features having varying scales. If we decide to use algorithms relying on distance calculations like K-Nearest Neighbors, Support Vector Machines or even Neural Networks, we will need to scale our features to be sure the feature having higher scale does not dominate the calculations. Normalization scales the feature to a fixed range 0 to 1, or -1 to 1. Standardization, on the other hand, is useful when your data follows a normal distribution, because it standardizes the distribution forcing it to have 0 mean and 1 standard deviation. Thus, it centers the data and standardizes the spread.
Both methods have their advantages and disadvantages. In practice, the proper method is selected by taking into account the data distribution, the algorithm, range sensitivity, etc.
🔍 Key points covered:
0:00 - Introduction.
0:28 - What is data scaling?
0:38 - Why we need data scaling?
1:10 - Min Max Scaling = Normalization.
1:26 - An example of Min Max Scaling.
1:42 - It is very sensitive to outliers!
1:56 - Standardization.
2:16 - Standardization is also sensitive to outliers!
2:45 - End notes.
2:58 - Subscribe to us!
🔔 Don't forget to like, subscribe, and hit the bell icon to stay updated with our latest videos!
🤖 Note that we use synthetic generations, such as AI-generated images and voices, to enhance the appeal and engagement of our content.
🌐 If you have any questions or topics you want us to cover, leave a comment below. Additionally, share with your thoughts about the content, how do you think we can make them better? Thanks for watching!
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from AI For Beginners · AI For Beginners · 22 of 32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
▶
23
24
25
26
27
28
29
30
31
32
Artificial Intelligence Explained In Simple Words | What Is AI? | Explained On A Real World Example!
AI For Beginners
AI vs. ML vs. DL vs. DS - Difference Explained | On Real World Examples | AI For Beginners
AI For Beginners
Types Of Machine Learning Algorithms | Explained On Real World Examples | ML For Beginners
AI For Beginners
Best AI Music Generator | Music Generation Tool for FREE | MusicGen developed by Meta AI
AI For Beginners
The Ultimate Guide To Supervised Learning | Explained On Binary Classification Example | Part 1
AI For Beginners
The Ultimate Guide To Supervised Learning | Classification And Regression | Part 2
AI For Beginners
Linear Regression Explained | A Beginner's Guide To Regression | The Basics You Need to Know!
AI For Beginners
Assumptions Of Linear Regression | What To Do If The Assumptions Do Not Hold? | Part 1
AI For Beginners
Checking The Assumptions Of Linear Regression | Statistical And Visual Methods | Part 2
AI For Beginners
The Purpose of Train-Test Split in Machine Learning | How to Correctly Split Data?
AI For Beginners
The Role of Validation Sets in Model Training | Train-Test-Validation Splits | Clearly explained!
AI For Beginners
Overfitting and Underfitting | Bias and Variance Tradeoff in Machine Learning | Clearly Explained!
AI For Beginners
Gradient Descent Explained | How Do ML and DL Models Learn? | Simple Explanation!
AI For Beginners
Main Types of Gradient Descent | Batch, Stochastic and Mini-Batch Explained! | Which One to Choose?
AI For Beginners
The Role of Loss Functions | Most Common Loss Functions in Machine Learning | Explained!
AI For Beginners
How to Evaluate Your ML Models Effectively? | Evaluation Metrics in Machine Learning!
AI For Beginners
8 Best Tips For Cleaning Your Data | Data Cleaning | Machine Learning, Data Preparation.
AI For Beginners
Numerical vs. Categorical Data | Represent Your Dataset Correctly!
AI For Beginners
3 Main Types of Missing Data | Do THIS Before Handling Missing Values!
AI For Beginners
7 PROVEN Strategies To Become An AI Engineer (2025 Updated)
AI For Beginners
Easiest Guide to K-Fold Cross Validation | Explained in 2 Minutes!
AI For Beginners
Normalization and Standardization | Why to Scale the Features? | ML Basics
AI For Beginners
The Ultimate Guide to Hyperparameter Tuning | Grid Search vs. Randomized Search
AI For Beginners
How is Artificial Intelligence different from Traditional Programming?
AI For Beginners
All Machine Learning Models Clearly Explained!
AI For Beginners
6 Mistakes to Avoid When Learning Machine Learning in 2025
AI For Beginners
Best Practices for Effective Data Visualization In Machine Learning!
AI For Beginners
Central Limit Theorem Intuition Explained Like You're 5!
AI For Beginners
Which Door Would You Choose? | Monty Hall Problem Explained!
AI For Beginners
All Machine Learning Concepts Explained in 18 Minutes!
AI For Beginners
What’s the Probability That Two Randomly Drawn Chords in a Circle Intersect?
AI For Beginners
Causation vs Correlation | The Most Confused Concept in Data Science
AI For Beginners
More on: ML Maths Basics
View skill →Related Reads
📰
📰
📰
📰
AI Hardware Requirements: What You Actually Need for Training, Inference, and Data Work
Medium · Machine Learning
Encoding Ordinal Categorical Data: Teaching Machine Learning the Meaning Behind Rankings
Medium · Machine Learning
Encoding Ordinal Categorical Data: Teaching Machine Learning the Meaning Behind Rankings
Medium · Data Science
Encoding Ordinal Categorical Data: Teaching Machine Learning the Meaning Behind Rankings
Medium · Python
Chapters (10)
Introduction.
0:28
What is data scaling?
0:38
Why we need data scaling?
1:10
Min Max Scaling = Normalization.
1:26
An example of Min Max Scaling.
1:42
It is very sensitive to outliers!
1:56
Standardization.
2:16
Standardization is also sensitive to outliers!
2:45
End notes.
2:58
Subscribe to us!
🎓
Tutor Explanation
DeepCamp AI