A clustering-Based KNN improved algorithm CLKNN for text classification
Lijuan Marissa Zhou, Linshuang Wang, Xuebin Ge, Qian Fei Shi · 2010
As a simple, effective and nonparametric classification method, k Nearest Neighbor (KNN) is widely used in document classification for dealing with the much more difficult problem such as large-scale or many of categories. But KNN classifier may have a problem when training samples are uneven. The problem is that KNN classifier may decrease the precision of classification because of the uneven density of training data. To solve the problem, a new clustering-based KNN method is presented in this paper. It preprocesses training data by using clustering , then classify with a new KNN algorithm, which adopts a dynamic adjustment in each iteration for the neighborhood number K.This method would avoid the uneven classification phenomenon and reduce the misjudgment of the boundary testing samples. We have an experiment in text classification and the result shows that it has good performance.