Weighting contraction method based on K near neighbor method

A technology of K-nearest neighbors and weight values, which is applied in the field of image processing, can solve the problems of negative impact of classification effect and inability to reflect the role of samples, etc., and achieve the effect of reducing computational complexity, improving computational speed, and ensuring accuracy

Inactive Publication Date: 2010-10-20
TSINGHUA UNIV
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these methods reduce the complexity of operations to a certain extent, they also have a certain negative impact on the classification effect.
In addition, the sample points in each classifier in these methods are at the same level, so the role of more important samples in the classification process of these methods cannot be reflected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Weighting contraction method based on K near neighbor method
  • Weighting contraction method based on K near neighbor method
  • Weighting contraction method based on K near neighbor method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0016] Such as figure 1 As shown, it is a flowchart of a weighted contraction method based on the K nearest neighbor method in an embodiment of the present invention, including the following steps:

[0017] Step S101, divide the training samples and test samples belonging to each category in the sample set. For details, please refer to figure 2 , is a flow chart of generating training set data in an embodiment of the present invention. Such as image 3 As shown, it is a schematic diagram of the overall sample set of the embodiment o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a weighting contraction method based on a K near neighbor method, which comprises the following steps that: samples are divided to intensively belong to training samples and test samples in each classification; the sample point contraction for preset times is respectively carried out on the training samples in each classification for obtaining the training set data corresponding to each classification, and the weight of each sample point after the contraction is calculated; and the test samples are classified according to the weights of K sample points in the training set data with the nearest distance away from the test samples. The invention can ensure the accuracy of the classification at the same time of considering the computer calculation speed improvement and calculation complexity reduction.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a weighted shrinkage method based on the K-nearest neighbor method. Background technique [0002] In the past fifty years, the theory and technology of pattern recognition and machine learning have been developed rapidly. As a typical classification method of pattern recognition, the nearest neighbor method was first proposed in 1968. Although the classification result of this method is not the best, its computational complexity is small and easy to implement, so it has been widely used. The k-nearest neighbor method is a direct expansion method of the nearest neighbor method. In order to reduce the amount of calculation and storage of the k-nearest neighbor method, a lot of research has been carried out, and methods such as the clipping nearest neighbor method and the compression nearest neighbor method have been produced. Although these methods reduce the computation...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62
Inventor 戴琼海徐琨
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products