An Improved KNN Classification Algorithm based on Sampling

被引:0
|
作者
Cheng, Zhiwei [1 ]
Chen, Caisen [1 ]
Qiu, Xuehuan [1 ]
Xie, Huan [1 ]
机构
[1] Acad Armored Forces Engn, Beijing 100072, Peoples R China
基金
中国国家自然科学基金;
关键词
KNN; classification algorithm; computational overhead; sampling;
D O I
暂无
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
K nearest neighbor (KNN) algorithm has been widely used as a simple and effective classification algorithm. The traditional KNN classification algorithm will find k nearest neighbors, it is necessary to calculate the distance from the test sample to all training samples. When the training sample data is very large, it will produce a high computational overhead, resulting in a decline in classification speed. Therefore, we optimize the distance calculation of the KNN algorithm. Since KNN only considers the k samples of the shortest distance from the test sample to the nearest training sample point, the large distance training has no effect on the classification of the algorithm. The improved method is to sample the training data around the test data, which reduces the number of distance calculation of the test data to each training data, and reduces the time complexity of the algorithm. The experimental results show that the optimized KNN classification algorithm is superior to the traditional KNN algorithm.
引用
收藏
页码:220 / 225
页数:6
相关论文
共 50 条
  • [31] An improved kNN text classification method
    Wang, Fengfei
    Liu, Zhen
    Wang, Chundong
    INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2019, 20 (03) : 397 - 403
  • [32] The Domain Classification Algorithm Based on KNN in Micro-blog
    Zhu, Guofeng
    Zhou, Zhurong
    Han, Fengjiao
    Ying, Zhongyun
    PROCEEDINGS OF 2013 IEEE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2012, : 188 - 192
  • [33] Study on microblogging marketing system based on KNN classification algorithm
    Meng, Qingqiang
    Han, Xue
    Metallurgical and Mining Industry, 2015, 7 (09): : 1096 - 1101
  • [34] Fast kNN classification algorithm based on partial distance search
    Chung Yuan Christian Univ, Chungli, Taiwan
    Electron Lett, 21 (2062-2063):
  • [35] Fast kNN classification algorithm based on partial distance search
    Hwang, WJ
    Wen, KW
    ELECTRONICS LETTERS, 1998, 34 (21) : 2062 - 2063
  • [36] Classification algorithm based on Weighted SVMs and locally Tuning kNN
    Wang Shu-Bin
    Ling Ping
    You Xiang-Yang
    Xu Ming
    Rong Xiang-Sheng
    BMEI 2008: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS, VOL 1, 2008, : 240 - +
  • [37] Human performance modeling for manufacturing based on an improved KNN algorithm
    Li, Ni
    Kong, Haipeng
    Ma, Yaofei
    Gong, Guanghong
    Huai, Wenqing
    INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2016, 84 (1-4): : 473 - 483
  • [38] Music personalized recommendation system based on improved KNN algorithm
    Li, Gang
    Zhang, Jingjing
    PROCEEDINGS OF 2018 IEEE 3RD ADVANCED INFORMATION TECHNOLOGY, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IAEAC 2018), 2018, : 777 - 781
  • [39] An Improved Dynamic Prediction Fingerprint Localization Algorithm Based On KNN
    Lu Xuanmin
    Qiu Yang
    Yuan Wenle
    Yang Fan
    PROCEEDINGS OF 2016 SIXTH INTERNATIONAL CONFERENCE ON INSTRUMENTATION & MEASUREMENT, COMPUTER, COMMUNICATION AND CONTROL (IMCCC 2016), 2016, : 289 - 292
  • [40] An Improved KNN Based Outlier Detection Algorithm for Large Datasets
    Wang, Qian
    Zheng, Min
    ADVANCED DATA MINING AND APPLICATIONS, ADMA 2010, PT I, 2010, 6440 : 585 - 592