A fuzzy K-nearest neighbor classification method and system based on weighted chi-square distance metric
A chi-square distance, classification method technology, applied in character and pattern recognition, instruments, computer parts and other directions, can solve the problem of classification accuracy affected by noise, unweighted data, low classification accuracy, etc., to ensure the accuracy rate , The effect of reducing classification time and accurate classification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] attached figure 1 As shown, a fuzzy K-nearest neighbor classification method based on the weighted chi-square distance metric of the present invention calculates the weight of each feature according to the fuzzy closeness of the close distance type, takes the weighted chi-square distance as the distance measure, and passes k neighbors The class membership degree determines the category of the sample to be classified, and evaluates the classification result to obtain the sample that meets the evaluation effect. The specific steps of the algorithm are as follows.
[0062] Step S100, establishing test samples and training samples, specifically as follows:
[0063] The training sample set is X={(x i ,c i )|i=1,2,...,n}, wherein, i=1,2,...n, i is the variable of the number of training samples, n is the number of training samples; x i Indicates the i-th training sample, x i l is an l-dimensional vector, that is, the feature dimension is l, x i l Indicates the l-th f...
Embodiment 2
[0131] A fuzzy K-nearest neighbor classification system based on weighted chi-square distance measurement, including sample construction module, neighbor number setting module, weighted chi-square distance calculation module, sample category determination module and sample evaluation module; sample construction module is used to construct samples, including Training samples and test samples; the neighbor number setting module is used to set the value of the neighbor number; the weighted chi-square distance calculation module can read the constructed sample from the sample construction module, and can read the set neighbor number from the neighbor number setting module value, and can calculate the weighted chi-square distance between the training sample and the test sample; the sample category determination module can read the constructed sample from the sample construction module, and can read the value of the neighbor number from the neighbor number setting module, and can read...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com