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 条
  • [1] An Improved KNN Text Classification Algorithm based on Simhash
    Liu, Jie
    Jin, Ting
    Pan, Kejia
    Yang, Yi
    Wu, Yan
    Wang, Xin
    2017 IEEE 16TH INTERNATIONAL CONFERENCE ON COGNITIVE INFORMATICS & COGNITIVE COMPUTING (ICCI*CC), 2017, : 92 - 95
  • [2] A fast document classification algorithm based on improved KNN
    Guo, Ge
    Ping, Xijian
    Chen, Gang
    ICICIC 2006: FIRST INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING, INFORMATION AND CONTROL, VOL 3, PROCEEDINGS, 2006, : 186 - +
  • [3] AN IMPROVED KNN TEXT CLASSIFICATION ALGORITHM BASED ON DENSITY
    Shi, Kansheng
    Li, Lemin
    Liu, Haitao
    He, Jie
    Zhang, Naitong
    Song, Wentao
    2011 IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS, 2011, : 113 - 117
  • [4] An Improved KNN Text Classification Algorithm Based on Clustering
    Zhou Yong
    Li Youwen
    Xia Shixiong
    JOURNAL OF COMPUTERS, 2009, 4 (03) : 230 - 237
  • [5] An Improved KNN Algorithm for Text Classification
    Li, Huijuan
    Jiang, He
    Wang, Dongyuan
    Han, Bing
    2018 EIGHTH INTERNATIONAL CONFERENCE ON INSTRUMENTATION AND MEASUREMENT, COMPUTER, COMMUNICATION AND CONTROL (IMCCC 2018), 2018, : 1081 - 1085
  • [6] An Improved KNN Algorithm in Text Classification
    Wang, Xiaoni
    Zhang, Zhenjiang
    Cao, Wei
    PROCEEDINGS OF 2013 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND COMPUTER APPLICATIONS (ICSA 2013), 2013, 92 : 263 - 268
  • [7] Classification Method of Teaching Resources Based on Improved KNN Algorithm
    An, Yingbo
    Xu, Meiling
    Shen, Chen
    INTERNATIONAL JOURNAL OF EMERGING TECHNOLOGIES IN LEARNING, 2019, 14 (04): : 73 - 88
  • [8] Classification for Unbalanced Dataset by an Improved KNN Algorithm Based on Weight
    Wang, Chao-Xue
    Dong, Li-Li
    Pan, Zheng-Mao
    Zhang, Tao
    INFORMATION-AN INTERNATIONAL INTERDISCIPLINARY JOURNAL, 2012, 15 (11B): : 4983 - 4988
  • [9] An improved KNN algorithm based on multi-attribute classification
    Zhang, Hongliang
    Li, Liangjun
    Li, Tienan
    Yang, Feng
    ICIC Express Letters, Part B: Applications, 2011, 2 (05): : 1117 - 1122
  • [10] Classification method of teaching resources based on improved KNN algorithm
    An, Yingbo
    Xu, Meiling
    Shen, Chen
    International Journal of Emerging Technologies in Learning, 2019, 14 (04) : 73 - 88