KNN algorithm is a common and effective text categorization algorithm.
KNN算法是一种常用的效果较好的文本分类算法。
In this paper, a flexible KNN algorithm is developed with varying-K algorithm and weighting algorithm, which improves the effect of text categorization.
基于近邻序列的排序,提出了变k算法,并且结合效果较好权重算法,形成了柔性的KNN算法,提高了分类的效果。
The experiment result has proved that the method can improve the class's categorization effect with fewer training samples of KNN algorithm.
实验结果表明此方法有效改善了KNN算法对少数类分类效果。
应用推荐