arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.06047cs.LGcs.AI
收藏

一步计算的KNN分类

KNN Classification with One-step Computation

Central South University(中南大学)

Shichao Zhang, Jiaye Li

摘要:

KNN分类是一种即兴的学习模式,它只在预测到一个测试数据时才进行分类,设定一个合适的K值,从整个训练样本空间中搜索K个最近邻,将其称为KNN分类的惰性部分。由于K个最近邻的完全搜索,这一懒惰部分一直是应用KNN分类的瓶颈问题。在本文中,一个一步计算提出了取代懒惰的KNN分类的一部分。一步计算实际上将惰性部分转换为矩阵计算,如下所示。给定一个测试数据,首先应用训练样本以最小二乘损失函数拟合测试数据。然后,根据训练样本对测试数据的影响程度,对训练样本进行加权,生成关系矩阵。最后,一组套索进行稀疏学习的关系矩阵。这样,设置K值和搜索K个最近邻都集成到一个统一的计算。此外,提出了一种新的分类规则,以提高一步KNN分类的性能。实验结果表明,一步KNN分类算法是有效的,具有良好的应用前景

英文摘要:

KNN classification is an improvisational learning mode, in which they are carried out only when a test data is predicted that set a suitable K value and search the K nearest neighbors from the whole training sample space, referred them to the lazy part of KNN classification. This lazy part has been the bottleneck problem of applying KNN classification due to the complete search of K nearest neighbors. In this paper, a one-step computation is proposed to replace the lazy part of KNN classification. The one-step computation actually transforms the lazy part to a matrix computation as follows. Given a test data, training samples are first applied to fit the test data with the least squares loss function. And then, a relationship matrix is generated by weighting all training samples according to their influence on the test data. Finally, a group lasso is employed to perform sparse learning of the relationship matrix. In this way, setting K value and searching K nearest neighbors are both integrated to a unified computation. In addition, a new classification rule is proposed for improving the performance of one-step KNN classification. The proposed approach is experimentally evaluated, and demonstrated that the one-step KNN classification is efficient and promising

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

↑