Normalization and normalization _ normalization of

Source: Internet
Author: User

Some classifiers need to calculate the distance (such as Euclidean distance) between samples, such as KNN. If a feature range is very large, then the distance calculation depends largely on this feature, which is inconsistent with the actual situation (for example, when the actual situation is a small range of features more important). 3 normalized type 1) linear normalization

This normalization method is more applicable in the case of numerical comparison. This method has a flaw, if Max and Min is unstable, it is easy to make the normalized results unstable, so that the subsequent use of the effect is not stable. You can use empirical constant values instead of Max and min in practice.


2) Standard deviation standardization

The processed data conforms to the standard normal distribution, that is, the mean value is 0, the standard deviation is 1, and the conversion function is:

Where μ is the mean value of all sample data, Σ is the standard deviation of all sample data.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.