TY - GEN
T1 - A K-Nearest Centroid Neighbor with atention Classifier
AU - Huang, Rui
AU - Ma, Ying
AU - Wang, Tian
AU - Li, Guo Qi
AU - Yan, Ming
N1 - Publisher Copyright:
© 2021 ACM.
PY - 2021/12/4
Y1 - 2021/12/4
N2 - Among classic algorithms of data mining, the K-nearest neighbor based methods are simple and effective pattern classification algorithms. However, most KNN-based methods do not fully take into account the impact of different training sample points on classification, lead to inaccurate classification. To address this issue, we propose a scheme named Attention-based local mean K-Nearest Centroid Neighbor Classifier (ALMKNCN), combining nearest centroid neighbor with attention mechanism, the influence of each training sample on the query sample is fully considered. Given the query pattern, we first calculate the local centroid mean vector for each class, and then use the idea of attention mechanism to calculate the weight of pseudo-distance between each class and test sample. Finally, based on attention coefficient, the distances between the query sample and local mean vectors are weighted to determine the class of the query sample. Extensive experiments on UCI and KEEL data sets are carried out by comparing ALMKNCN to the state-of-art KNN-based methods. The experimental results demonstrate that the proposed ALMKNCN outperforms the related competitive KNN-based methods with more effectiveness.
AB - Among classic algorithms of data mining, the K-nearest neighbor based methods are simple and effective pattern classification algorithms. However, most KNN-based methods do not fully take into account the impact of different training sample points on classification, lead to inaccurate classification. To address this issue, we propose a scheme named Attention-based local mean K-Nearest Centroid Neighbor Classifier (ALMKNCN), combining nearest centroid neighbor with attention mechanism, the influence of each training sample on the query sample is fully considered. Given the query pattern, we first calculate the local centroid mean vector for each class, and then use the idea of attention mechanism to calculate the weight of pseudo-distance between each class and test sample. Finally, based on attention coefficient, the distances between the query sample and local mean vectors are weighted to determine the class of the query sample. Extensive experiments on UCI and KEEL data sets are carried out by comparing ALMKNCN to the state-of-art KNN-based methods. The experimental results demonstrate that the proposed ALMKNCN outperforms the related competitive KNN-based methods with more effectiveness.
KW - Attention mechanism
KW - Data mining
KW - K-Nearest Neighbor
KW - Pattern classification
UR - https://www.scopus.com/pages/publications/85126395557
U2 - 10.1145/3507548.3507572
DO - 10.1145/3507548.3507572
M3 - 会议稿件
AN - SCOPUS:85126395557
T3 - ACM International Conference Proceeding Series
SP - 156
EP - 161
BT - Proceedings of 2021 5th International Conference on Computer Science and Artificial Intelligence, CSAI 2021
PB - Association for Computing Machinery
T2 - 5th International Conference on Computer Science and Artificial Intelligence, CSAI 2021
Y2 - 4 December 2021 through 6 December 2021
ER -