Unit 5
Unit 5
We subtract the minimum value from each feature and divide the result by the
difference between the maximum and minimum values.
• Standardization does it by centering their
values around the mean (0) and scaling them
based on the standard deviation.
• It is calculated using the formula:
Advantages of KNN Algorithm:
• It is simple to implement.
• It is robust to the noisy training data
• It can be more effective if the training data is
large.
Disadvantages of KNN Algorithm: