A Large-Scale k-Nearest Neighbor Classification Algorithm Based on Neighbor Relationship Preservation

被引:6
|
作者
Song, Yunsheng [1 ]
Kong, Xiaohan [1 ]
Zhang, Chao [1 ]
机构
[1] Shandong Agr Univ, Coll Informat Sci & Engn, Tai An 271018, Shandong, Peoples R China
关键词
CONDENSATION; SELECTION;
D O I
10.1155/2022/7409171
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Owing to the absence of hypotheses of the underlying distributions of the data and the strong generation ability, the k-nearest neighbor (kNN) classification algorithm is widely used to face recognition, text classification, emotional analysis, and other fields. However, kNN needs to compute the similarity between the unlabeled instance and all the training instances during the prediction process; it is difficult to deal with large-scale data. To overcome this difficulty, an increasing number of acceleration algorithms based on data partition are proposed. However, they lack theoretical analysis about the effect of data partition on classification performance. This paper has made a theoretical analysis of the effect using empirical risk minimization and proposed a large-scale k-nearest neighbor classification algorithm based on neighbor relationship preservation. The process of searching the nearest neighbors is converted to a constrained optimization problem. Then, it gives the estimation of the difference on the objective function value under the optimal solution with data partition and without data partition. According to the obtained estimation, minimizing the similarity of the instances in the different divided subsets can largely reduce the effect of data partition. The minibatch k-means clustering algorithm is chosen to perform data partition for its effectiveness and efficiency. Finally, the nearest neighbors of the test instance are continuously searched from the set generated by successively merging the candidate subsets until they do not change anymore, where the candidate subsets are selected based on the similarity between the test instance and cluster centers. Experiment results on public datasets show that the proposed algorithm can largely keep the same nearest neighbors and no significant difference in classification accuracy as the original kNN classification algorithm and better results than two state-of-the-art algorithms.
引用
收藏
页数:11
相关论文
共 50 条
  • [31] Classification of Lower Back Pain Using K-Nearest Neighbor Algorithm
    Sandag, Green Arther
    Tedry, Natalia Elisabet
    Lolong, Steven
    2018 6TH INTERNATIONAL CONFERENCE ON CYBER AND IT SERVICE MANAGEMENT (CITSM), 2018, : 367 - 371
  • [32] Skin lesion classification system using a K-nearest neighbor algorithm
    Mustafa Qays Hatem
    Visual Computing for Industry, Biomedicine, and Art, 5
  • [33] A Coupled k-Nearest Neighbor Algorithm for Multi-label Classification
    Liu, Chunming
    Cao, Longbing
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PART I, 2015, 9077 : 176 - 187
  • [34] Protein kinase inhibitors' classification using K-Nearest neighbor algorithm
    Arian, Roya
    Hariri, Amirali
    Mehridehnavi, Alireza
    Fassihi, Afshin
    Ghasemi, Fahimeh
    COMPUTATIONAL BIOLOGY AND CHEMISTRY, 2020, 86
  • [35] An Improved k-Nearest Neighbor Algorithm for Recognition and Classification of Thyroid Nodules
    Ma, Xuesi
    Han, Xiang
    Zhang, Lina
    JOURNAL OF ULTRASOUND IN MEDICINE, 2024, 43 (06) : 1025 - 1036
  • [36] Skin lesion classification system using a K-nearest neighbor algorithm
    Hatem, Mustafa Qays
    VISUAL COMPUTING FOR INDUSTRY BIOMEDICINE AND ART, 2022, 5 (01)
  • [37] Classification of Heart Disease Using K-Nearest Neighbor and Genetic Algorithm
    Jabbar, M. Akhil
    Deekshatulu, B. L.
    Chandra, Priti
    FIRST INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE: MODELING TECHNIQUES AND APPLICATIONS (CIMTA) 2013, 2013, 10 : 85 - 94
  • [38] Fuzzy Monotonic K-Nearest Neighbor Versus Monotonic Fuzzy K-Nearest Neighbor
    Zhu, Hong
    Wang, Xizhao
    Wang, Ran
    IEEE TRANSACTIONS ON FUZZY SYSTEMS, 2022, 30 (09) : 3501 - 3513
  • [39] Improvement of k-nearest neighbor algorithm based on double filtering
    Ma, Chun Jie
    Ding, Zheng Sheng
    2020 5TH INTERNATIONAL CONFERENCE ON MECHANICAL, CONTROL AND COMPUTER ENGINEERING (ICMCCE 2020), 2020, : 1567 - 1570
  • [40] An Algorithm of Incremental Bayesian Classifier Based on K-Nearest Neighbor
    Wang, Dong
    Xiong, Shi-huan
    MEMS, NANO AND SMART SYSTEMS, PTS 1-6, 2012, 403-408 : 1455 - 1459