Compactness-Weighted KNN Classification Algorithm

被引:0
|
作者
Wan, Bengting [1 ]
Sheng, Zhixiang [1 ]
Zhu, Wenqiang [1 ]
Hu, Zhiyi [1 ]
机构
[1] Jiangxi Univ Finance & Econ, Sch Software & IoT Engn, Nanchang 330013, Peoples R China
基金
美国国家科学基金会;
关键词
K-nearest neighbors; feature weight; Minkowski distance; compactness; NEAREST-NEIGHBOR CLASSIFICATION;
D O I
10.14569/IJACSA.2024.0150922
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The K-Nearest Neighbor (KNN) algorithm is a widely used classical classification tool, yet enhancing the classification accuracy for multi-feature large datasets remains a challenge. The paper introduces a Compactness-Weighted KNN classification algorithm using a weighted Minkowski distance (CKNN) to address this. Due to the variability in sample distribution, a method for deriving feature weights based on compactness is designed. Subsequently, a formula for calculating the weighted Minkowski distance using compactness weights is proposed, forming the basis for developing the CKNN algorithm. Comparative experimental results on five real-world datasets demonstrate that the CKNN algorithm outperforms eight existing variant KNN algorithms in Accuracy, Precision, Recall, and F1 performance metrics. The test results and sensitivity analysis confirm the CKNN's efficacy in classifying multi-feature datasets.
引用
收藏
页码:229 / 238
页数:10
相关论文
共 50 条
  • [31] 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
  • [32] 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
  • [33] Improved KNN Classification Algorithm by Dynamic Obtaining K
    Gong, An
    Liu, Yanan
    ADVANCED RESEARCH ON ELECTRONIC COMMERCE, WEB APPLICATION, AND COMMUNICATION, PT 1, 2011, 143 : 320 - 324
  • [34] Weighted kNN and constrained elastic distances for time-series classification
    Geler, Zoltan
    Kurbalija, Vladimir
    Ivanovic, Mirjana
    Radovanovic, Milos
    EXPERT SYSTEMS WITH APPLICATIONS, 2020, 162
  • [35] Time Series Classification Based on Attributes Weighted Sample Reducing KNN
    Xu, Shaoqing
    Luo, Qiangyi
    Li, Huabo
    Zhang, Lei
    PROCEEDINGS OF THE SECOND INTERNATIONAL SYMPOSIUM ON ELECTRONIC COMMERCE AND SECURITY, VOL II, 2009, : 194 - +
  • [36] Model for quality classification of dam foundation rock mass based on Gaussian function weighted KNN algorithm and its application
    Wang, Xian-biao
    Feng, Zheng-kun
    Wang, Hua-chen
    Xu, Wei-ya
    Wang, Sheng-lin
    BULLETIN OF ENGINEERING GEOLOGY AND THE ENVIRONMENT, 2024, 83 (12)
  • [37] Speech Emotion Recognition for SROL Database using Weighted KNN algorithm
    Feraru, Monica
    Zbancioc, Marius
    2013 INTERNATIONAL CONFERENCE ON ELECTRONICS, COMPUTERS AND ARTIFICIAL INTELLIGENCE (ECAI), 2013,
  • [38] A Fuzzy KNN Algorithm Based on Weighted Chi-square Distance
    Wang, Xingang
    Yao, Peipei
    PROCEEDINGS OF THE 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND APPLICATION ENGINEERING (CSAE2018), 2018,
  • [39] G-KNN: An Efficient Document Classification Algorithm for Sparse Datasets on GPUs using KNN
    Rocha, Leonardo
    Ramos, Gabriel
    Chaves, Rodrigo
    Sachetto, Rafael
    Madeira, Daniel
    Viegas, Felipe
    Andrade, Guilherme
    Daniel, Sergio
    Goncalves, Marcos
    Ferreira, Renato
    30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, : 1335 - 1338
  • [40] An algorithm of Image Matching Based on Mahalanobis Distance and Weighted KNN Graph
    Bo, Du
    Zhangguan-liang
    Cuixiao-long
    2015 2ND INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND CONTROL ENGINEERING ICISCE 2015, 2015, : 116 - 121