摘要
k-Nearest Neighbor (KNN) algorithm has the advantage of high accuracy and stability. But the time complexity of KNN is directly proportional to the sample size, its classification speed is low and it is problematic to be put into practice in large-scale information processing. An improved KNN text categorization algorithm is proposed which classifies faster than the traditional KNN does. Firstly, some similar sample documents are combined into a center document through adopting automatic text clustering technology. Then, a large number of original samples are replaced with the small amount of sample cluster centers. Therefore, the calculation amount of KNN is reduced greatly and the classification is speeded up. The experimental results show that the time complexity of the proposed algorithm is decreased by one order of magnitude and its accuracy is approximately equal to those of the SVM and traditional KNN.
源语言 | 英语 |
---|---|
页(从-至) | 936-940 |
页数 | 5 |
期刊 | Moshi Shibie yu Rengong Zhineng/Pattern Recognition and Artificial Intelligence |
卷 | 22 |
期 | 6 |
出版状态 | 已出版 - 12月 2009 |
已对外发布 | 是 |