Predicting the number of nearest neighbor for kNN classifier

被引:0
|
作者
Li, Yanying [1 ]
Yang, Youlong [2 ]
Che, Jinxing [3 ]
Zhang, Long [4 ]
机构
[1] School of Mathematics and Information Science, Baoji University of Arts and Sciences, Baoji, Shaanxi,721013, China
[2] School of Mathematics and Statistics, Xidian University, 266 Xinglong Section of Xifeng Road, Xi'an, Shaanxi,710126, China
[3] NanChang Institute of Technology, NanChang, JiangXi,330099, China
[4] Shaanxi Baoguang Vacuum Electric Device Co., Ltd., Baoji, Shaanxi,721016, China
基金
中国国家自然科学基金;
关键词
Classification accuracy - Classification performance - Empirical studies - K nearest neighbor (KNN) - K-nearest neighbors - Leave-one-out cross validations - Nearest neighbors - Optimal neighborhoods;
D O I
暂无
中图分类号
学科分类号
摘要
The k nearest neighbor (kNN) rule is known as its simplicity, effectiveness, intuitiveness and competitive classification performance. Selecting the parameter k with the highest classification accuracy is crucial for kNN. There's no doubt that the leave-one-out cross validation (LOO-CV) is the best method to do this work as its almost unbiased property. However, it is too time consuming to be used in practice especially for large data. In this paper, we propose a new algorithm for selecting an optimal neighborhood size k. We found that the classification accuracy of LOO-CV is approximate concave for the parameter k. And a search method is proposed to pick out the optimal value of k. An empirical study conducted on 8 standard databases from the UCI repository shows that the new strategy can find the optimal k with significantly less time than the LOO-CV method. © 2019 International Association of Engineers.
引用
收藏
页码:1 / 8
相关论文
共 50 条
  • [21] Hybrid k-Nearest Neighbor Classifier
    Yu, Zhiwen
    Chen, Hantao
    Liu, Jiming
    You, Jane
    Leung, Hareton
    Han, Guoqiang
    IEEE TRANSACTIONS ON CYBERNETICS, 2016, 46 (06) : 1263 - 1275
  • [22] Unknown Aware k Nearest Neighbor Classifier
    Khastavaneh, Hassan
    Ebrahimpour-Komleh, Hossein
    Hanaee-Ahwaz, Amin
    2017 3RD INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION AND IMAGE ANALYSIS (IPRIA), 2017, : 108 - 112
  • [23] Coarse to fine K nearest neighbor classifier
    Xu, Yong
    Zhu, Qi
    Fan, Zizhu
    Qiu, Minna
    Chen, Yan
    Liu, Hong
    PATTERN RECOGNITION LETTERS, 2013, 34 (09) : 980 - 986
  • [24] PL-kNN: A Parameterless Nearest Neighbors Classifier
    Jodas, Danilo Samuel
    Passos, Leandro Aparecido
    Adeel, Ahsan
    Papa, Joao Paulo
    2022 29TH INTERNATIONAL CONFERENCE ON SYSTEMS, SIGNALS AND IMAGE PROCESSING (IWSSIP), 2022,
  • [25] NOVEL GENERAL KNN CLASSIFIER AND GENERAL NEAREST MEAN CLASSIFIER FOR VISUAL CLASSIFICATION
    Liu, Qingfeng
    Puthenputhussery, Ajit
    Liu, Chengjun
    2015 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2015, : 1810 - 1814
  • [26] INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation
    Zhu, Wenhao
    Xu, Jingjing
    Huang, Shujian
    Kong, Lingpeng
    Chen, Jiajun
    PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023): LONG PAPERS, VOL 1, 2023, : 15948 - 15959
  • [27] kNN-BOX: A Unified Framework for Nearest Neighbor Generation
    Zhu, Wenhao
    Zhao, Qianfeng
    Lv, Yunzhe
    Huang, Shujian
    Zhao, Siheng
    Liu, Sizhe
    Chen, Jiajun
    PROCEEDINGS OF THE 18TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: SYSTEM DEMONSTRATIONS, 2024, : 10 - 17
  • [28] Distributed adaptive nearest neighbor classifier: algorithm and theory
    Liu, Ruiqi
    Xu, Ganggang
    Shang, Zuofeng
    STATISTICS AND COMPUTING, 2023, 33 (05)
  • [29] Nearest Neighbor Classifier Embedded Network for Active Learning
    Wan, Fang
    Yuan, Tianning
    Fu, Mengying
    Ji, Xiangyang
    Huang, Qingming
    Ye, Qixiang
    THIRTY-FIFTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THIRTY-THIRD CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE AND THE ELEVENTH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2021, 35 : 10041 - 10048
  • [30] Kernel representation-based nearest neighbor classifier
    Fang, Xiaozhao
    Lu, Yuwu
    Li, Zhengming
    Yu, Lei
    Chen, Yan
    OPTIK, 2014, 125 (10): : 2320 - 2326