An Improved k-Nearest Neighbor Algorithm for Text Categorization

By Baoli Li, Shiwen Yu, Qin Lu. 2003

233 citations recorded by the source corpus.

k is the most important parameter in a text categorization system based on k-Nearest Neighbor algorithm (kNN).In the classification process, k nearest documents to the test one in the training set are determined firstly. Then, the predication can be made according to the category distribution among these k nearest neighbors. Generally speaking, the class distribution in the training set is uneven. Some classes may have more samples than others. Therefore, the system performance is very sensitive to the choice of the parameter k. And it is very likely that a fixed k value will result in a bias on large categories. To deal with these problems, we propose an improved kNN algorithm, which uses different numbers of nearest neighbors for different categories, rather than a fixed number across all categories. More samples (nearest neighbors) will be used for deciding whether a test document should be classified to a category, which has more samples in the training set. Preliminary experiments on Chinese text categorization show that our method is less sensitive to the parameter k than the traditional one, and it can properly classify documents belonging to smaller classes with a large k. The method is promising for some cases, where estimating the parameter k via cross-validation is not allowed.

Subfields: Artificial Intelligence, Information Systems

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Ming Zong
  2. Shichao Zhang
  3. Xiaofeng Zhu
  4. Xuelong Li
  5. Saeed Reza Aghabozorgi
  6. Teh Ying Wah
  7. Xingquan Zhu
  8. Arman Khadjeh Nassirtoussi

In Information Systems

  1. Xiaofeng Zhu
  2. Xingquan Zhu
  3. Teh Ying Wah
  4. Shichao Zhang
  5. Arman Khadjeh Nassirtoussi
  6. David Chek Ling Ngo
  7. Saeed Reza Aghabozorgi
  8. Bin Li

Citations in the corpus