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 条
  • [41] An Improved kNN Algorithm Based on Conditional Probability Distance Metric
    Liu Ziyang
    Gao Zhanbao
    Li Xulong
    PROCEEDINGS OF THE 2017 5TH INTERNATIONAL CONFERENCE ON MACHINERY, MATERIALS AND COMPUTING TECHNOLOGY (ICMMCT 2017), 2017, 126 : 1057 - 1062
  • [42] An improved KNN algorithm for imbalanced data based on local mean
    Tang, Y. (ytang@swu.edu.cn), 1600, Binary Information Press (10):
  • [43] An Improved Adaboost Algorithm for Imbalanced Data Based on Weighted KNN
    Li, Kewen
    Xie, Peng
    Zhai, Jiannan
    Liu, Wenying
    2017 IEEE 2ND INTERNATIONAL CONFERENCE ON BIG DATA ANALYSIS (ICBDA), 2017, : 30 - 34
  • [44] An Improved KNN algorithm Based on Kernel Methods and Attribute Reduction
    Wang Xueli
    Jiang Zhiyong
    Yu Dahai
    2015 FIFTH INTERNATIONAL CONFERENCE ON INSTRUMENTATION AND MEASUREMENT, COMPUTER, COMMUNICATION AND CONTROL (IMCCC), 2015, : 566 - 569
  • [45] Improved KNN Algorithm Based on Preprocessing of Center in Smart Cities
    Wang, Haiyan
    Xu, Peidi
    Zhao, Jinghua
    COMPLEXITY, 2021, 2021
  • [46] An improved KNN search algorithm based on road network distance
    Xiao, Hui
    Yang, Bisheng
    Geomatics and Information Science of Wuhan University, 2008, 33 (04) : 437 - 439
  • [47] Human performance modeling for manufacturing based on an improved KNN algorithm
    Ni Li
    Haipeng Kong
    Yaofei Ma
    Guanghong Gong
    Wenqing Huai
    The International Journal of Advanced Manufacturing Technology, 2016, 84 : 473 - 483
  • [48] An improved kNN text categorization algorithm based on cluster distribution
    Luo, Yuansheng
    Wang, Minweng
    Le, Zhongjian
    Zhang, Huawei
    Journal of Computational Information Systems, 2012, 8 (03): : 1255 - 1263
  • [49] Fault Diagnosis of Scintillator Detector Based on Improved KNN Algorithm
    Ding, Tiansong
    Yan, Yongjun
    Xie, Yuxi
    Li, Xiang
    Yuanzineng Kexue Jishu/Atomic Energy Science and Technology, 2022, 56 (07): : 1431 - 1439
  • [50] An improved KNN algorithm for boolean sequence
    Wang, Zhen-Hua
    Hou, Zhong-Sheng
    Gao, Ying
    Moshi Shibie yu Rengong Zhineng/Pattern Recognition and Artificial Intelligence, 2009, 22 (02): : 330 - 336