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 条
  • [21] Tennis Posture Classification and Recognition Based on an Improved KNN
    Wang, Xinran
    Huang, Yaxin
    Zhong, Jianpeng
    Zhu, Yongqi
    Tang, Qing
    Wang, Meili
    Li, Shuqin
    TWELFTH INTERNATIONAL CONFERENCE ON GRAPHICS AND IMAGE PROCESSING (ICGIP 2020), 2021, 11720
  • [22] An Improved ML-kNN Algorithm by Fusing Nearest Neighbor Classification
    Zeng, Yong
    Fu, Hao-ming
    Zhang, Yu-ping
    Zhao, Xi-ya
    INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND COMPUTER SCIENCE (AICS 2016), 2016, : 193 - 198
  • [23] Anti Social Comment Classification based on kNN Algorithm
    Chandra, Nidhi
    Khatri, Sunil Kumar
    Som, Subhranil
    2017 6TH INTERNATIONAL CONFERENCE ON RELIABILITY, INFOCOM TECHNOLOGIES AND OPTIMIZATION (TRENDS AND FUTURE DIRECTIONS) (ICRITO), 2017, : 348 - 354
  • [24] A fast classification algorithm for big data based on KNN
    Niu, Kun
    Zhao, Fang
    Zhang, Shubo
    Journal of Applied Sciences, 2013, 13 (12) : 2208 - 2212
  • [25] A novel pre-classification based kNN algorithm
    Xie, Huahua
    Liang, Dong
    Zhang, Zhaojing
    Jin, Hao
    Lu, Chen
    Lin, Yi
    2016 IEEE 16TH INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOPS (ICDMW), 2016, : 1269 - 1275
  • [26] An improved sample mean KNN algorithm based on LDA
    Xue, Hongye
    Wang, Peiwen
    2019 11TH INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS (IHMSC 2019), VOL 1, 2019, : 266 - 270
  • [27] Medical Health Big Data Classification Based on KNN Classification Algorithm
    Xing, Wenchao
    Bei, Yilin
    IEEE ACCESS, 2020, 8 (28808-28819) : 28808 - 28819
  • [28] An Improved Under-sampling Imbalanced Classification Algorithm
    Yao, Baofeng
    Wang, Lei
    2021 13TH INTERNATIONAL CONFERENCE ON MEASURING TECHNOLOGY AND MECHATRONICS AUTOMATION (ICMTMA 2021), 2021, : 775 - 779
  • [29] Application of kNN Improved Algorithm in Automatic Classification of Network Public Proposal Cases
    Jiang Fuji
    Chu Chu
    2017 2ND IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND BIG DATA ANALYSIS (ICCCBDA 2017), 2017, : 82 - 86
  • [30] Improved KNN Algorithm for Fine-Grained Classification of Encrypted Network Flow
    Ma, Chencheng
    Du, Xuehui
    Cao, Lifeng
    ELECTRONICS, 2020, 9 (02)