An Improved KNN Text Classification Algorithm Based on Clustering
Zhou Yong, Youwen Li, Shixiong Xia · Journal of Computers · 2009
The traditional KNN text classification algorithm used all training samples for classification, so it had a huge number of training samples and a high degree of calculation complexity, and it also didn’t reflect the different importance of different samples. In allusion to the problems mentioned above, an improved KNN text classification algorithm based on clustering center is proposed in this paper. Firstly, the given training sets are compressed and the samples near by the border are deleted, so the multipeak effect of the training sample sets is eliminated. Secondly, the training sample sets of each category are clustered by k-means clustering algorithm, and all cluster centers are taken as the new training samples. Thirdly, a weight value is introduced, which indicates the importance of each training sample according to the number of samples in the cluster that contains this cluster center. Finally, the modified samples are used to accomplish KNN text classification. The simulation results show that the algorithm proposed in this paper can not only effectively reduce the actual number of training samples and lower the calculation complexity, but also improve the accuracy of KNN text classification algorithm.
Cited by 182 works. doi:10.4304/jcp.4.3.230-237
Authors
References
- Machine learning in automated text categorization
- A Comparative Study on Feature Selection in Text Categorization
- Nearest neighbor (NN) norms: NN pattern classification techniques
- Advances in Machine Learning Based Text Categorization
- A Fast KNN Algorithm for Text Categorization
- A Simple and Efficient Algorithm to Classify a Large Scale of Texts
- ANALYSIS AND CONSTRUCTION OF WORD WEIGHING FUNCTION IN VSM
- Improving Chinese Text Categorization by Outlier Learning
- Vector-Combination-Applied KNN Method for Chinese Text Categorization
- A Clustering Algorithm Using Dynamic Nearest Neighbors Selection Model