arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.06238cs.LG
收藏

一种使用局部调和平均距离的新型伪最近邻分类方法

A Novel Pseudo Nearest Neighbor Classification Method Using Local Harmonic Mean Distance

School of Artificial Intelligence, Hebei University of Technology(河北工业大学人工智能学院);College of Big Data, Weifang Institute of Technology(潍坊理工学院大数据学院)

Junzhuo Chen, Zhixin Lu, Shitong Kang

AI总结:

提出LMPHNN方法,利用局部调和平均距离改进伪最近邻分类,在UCI数据集上平均精确率97%,显著优于七种KNN变体,尤其适用于小样本场景。

摘要:

在机器学习领域,KNN分类算法因其简单高效而被广泛认可。然而,它对K值的敏感性带来了挑战,尤其是在小样本或存在异常值的情况下,影响了分类性能。本文介绍了一种基于KNN的新型分类器,称为LMPHNN(使用局部调和平均距离的新型伪最近邻分类方法)。LMPHNN利用调和平均距离(HMD)基于LMPNN规则和HMD来提升分类性能。该分类器首先为每个类别识别k个最近邻,并生成不同的局部向量作为原型。然后,通过比较样本与初始k组的HMD,基于每个类别的局部均值创建伪最近邻(PNNs)。分类通过计算查询样本与PNNs之间的欧氏距离来确定,该距离基于这些类别的局部均值。在多个真实UCI数据集和组合数据集上的广泛实验将LMPHNN与七种基于KNN的分类器进行了比较,使用精确率、召回率、准确率和F1作为评估指标。LMPHNN实现了97%的平均精确率,比其他方法高出14%。平均召回率提高了12%,平均准确率提升了5%。此外,与其他方法相比,LMPHNN的平均F1值高出13%。总之,LMPHNN优于其他分类器,在小样本情况下表现出较低的敏感性。

英文摘要:

In the realm of machine learning, the KNN classification algorithm is widely recognized for its simplicity and efficiency. However, its sensitivity to the K value poses challenges, especially with small sample sizes or outliers, impacting classification performance. This article introduces a novel KNN-based classifier called LMPHNN (Novel Pseudo Nearest Neighbor Classification Method Using Local Harmonic Mean Distance). LMPHNN leverages harmonic mean distance (HMD) to improve classification performance based on LMPNN rules and HMD. The classifier begins by identifying k nearest neighbors for each class and generates distinct local vectors as prototypes. Pseudo nearest neighbors (PNNs) are then created based on the local mean for each class, determined by comparing the HMD of the sample with the initial k group. Classification is determined by calculating the Euclidean distance between the query sample and PNNs, based on the local mean of these categories. Extensive experiments on various real UCI datasets and combined datasets compare LMPHNN with seven KNN-based classifiers, using precision, recall, accuracy, and F1 as evaluation metrics. LMPHNN achieves an average precision of 97%, surpassing other methods by 14%. The average recall improves by 12%, with an average accuracy enhancement of 5%. Additionally, LMPHNN demonstrates a 13% higher average F1 value compared to other methods. In summary, LMPHNN outperforms other classifiers, showcasing lower sensitivity with small sample sizes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑