KNN classification-based optimization method
A technology of optimization method and classification method, which is applied in the application field of Internet data classification, can solve the problems affecting the classification results, achieve the effect of wide application range and improve the accuracy rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] The main purpose of the present invention is to improve the KNN classification method, make up for the deficiency of the original KNN classification method, and improve the classification accuracy. The original KNN classification method mainly uses the similarity measure, and the classification basis is the maximum similarity of each category in the first K samples, that is,
[0030] (5)
[0031] (6)
[0032] in, representation with unknown samples nearest neighbor samples; Indicates the first kind; is the total number of categories;
[0033] The KNN original classification process is as follows:
[0034] Calculate the similarity between the data to be classified and each class, and select appropriate parameters , using formulas (5) and (6) to classify unknown samples.
[0035] When the KNN original classification method has unbalanced samples, such as the sample size of one class is large, while the sample size of other classes is small, it may ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
