An optimized K-Nearest Neighbor algorithm based on Dynamic Distance approach

被引:0
作者
Sadrabadi, Aireza Naser [1 ]
Znjirchi, Seyed Mahmood [1 ]
Abadi, Habib Zare Ahmad [1 ]
Hajimoradi, Ahmad [1 ]
机构
[1] Fac Econ Management & Accounting, Dept Ind Management, Yazd, Iran
来源
2020 6TH IRANIAN CONFERENCE ON SIGNAL PROCESSING AND INTELLIGENT SYSTEMS (ICSPIS) | 2020年
关键词
k-nearest neighbors; dynamic distance; invasive weed optimization; non-numerical attributes;
D O I
10.1109/ICSPIS51611.2020.9349582
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The k-nearest neighbors algorithm (KNN) is one of the most widely used and effective nonparametric classification algorithms. The classification mechanism of this algorithm involves computing the distance between new instance and the other instances. When the dataset contains non-numerical (ordinal and nominal) attributes, the performance of the algorithm can be significantly affected by how this distance is measured. This paper presents a distance measurement method for improving the performance of KNN. The idea of the proposed method is based on the notion of dynamic distance, which refers to the distance defined between the two values of a non-numerical attribute and depends on the nature of the problem. The determination mechanism of this dynamic distance is formulated in the form of an optimization problem, which is embedded within the structure of KNN and solved using the invasive weed optimization algorithm. The performance of the proposed algorithm is tested on the datasets of the UCI machine learning repository. The results show a minimum of 8% and a maximum of 48.1% improvement in classification accuracy, compared to classic KNN.
引用
收藏
页数:7
相关论文
共 34 条
[1]   Invasive weed optimization for model order reduction of linear MIMO systems [J].
Abu-Al-Nadi, Dia I. ;
Alsmadi, Othman M. K. ;
Abo-Hammour, Zaer S. ;
Hawa, Mohammed F. ;
Rahhal, Jamal S. .
APPLIED MATHEMATICAL MODELLING, 2013, 37 (06) :4570-4577
[2]  
[Anonymous], 1951, JOSEPH
[3]  
[Anonymous], 2000, Pattern Classification
[4]  
Attewell P., 2015, Data Mining for Social Sciences: An Introduction
[5]   A differential invasive weed optimization algorithm for improved global numerical optimization [J].
Basak, Aniruddha ;
Maity, Dipankar ;
Das, Swagatam .
APPLIED MATHEMATICS AND COMPUTATION, 2013, 219 (12) :6645-6668
[6]  
Bicego M., 2016, 2016 23 INT C PATT R
[7]   NEAREST NEIGHBOR PATTERN CLASSIFICATION [J].
COVER, TM ;
HART, PE .
IEEE TRANSACTIONS ON INFORMATION THEORY, 1967, 13 (01) :21-+
[8]   Design of a Broadband Cosecant Squared Pattern Reflector Antenna Using IWO Algorithm [J].
Dastranj, Aliakbar ;
Abiri, Habibollah ;
Mallahzadeh, Alireza .
IEEE TRANSACTIONS ON ANTENNAS AND PROPAGATION, 2013, 61 (07) :3895-3900
[9]  
Delen D., 2014, Real-world data mining: applied business analytics and decision making
[10]  
Duin R. P., 2014, JOINT IAPR INT WORKS