Back to Search
Start Over
An adaptive k -nearest neighbor text categorization strategy
- Source :
- ACM Transactions on Asian Language Information Processing. 3:215-226
- Publication Year :
- 2004
- Publisher :
- Association for Computing Machinery (ACM), 2004.
-
Abstract
- k is the most important parameter in a text categorization system based on the k -nearest neighbor algorithm ( k NN). To classify a new document, the k -nearest documents in the training set are determined first. The prediction of categories for this document can then be made according to the category distribution among the k nearest neighbors. Generally speaking, the class distribution in a training set is not even; some classes may have more samples than others. The system's 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 for large categories, and will not make full use of the information in the training set. To deal with these problems, an improved kNN strategy, in which different numbers of nearest neighbors for different categories are used instead of a fixed number across all categories, is proposed in this article. More samples (nearest neighbors) will be used to decide whether a test document should be classified in a category that has more samples in the training set. The numbers of nearest neighbors selected for different categories are adaptive to their sample size in the training set. Experiments on two different datasets show that our methods are less sensitive to the parameter k than the traditional ones, and can properly classify documents belonging to smaller classes with a large k . The strategy is especially applicable and promising for cases where estimating the parameter k via cross-validation is not possible and the class distribution of a training set is skewed.
- Subjects :
- Class (set theory)
General Computer Science
business.industry
Computer science
Nearest neighbor search
Pattern recognition
computer.software_genre
k-nearest neighbors algorithm
Best bin first
Nearest neighbor graph
Sample size determination
Nearest-neighbor chain algorithm
Data mining
Artificial intelligence
business
computer
Large margin nearest neighbor
Subjects
Details
- ISSN :
- 15583430 and 15300226
- Volume :
- 3
- Database :
- OpenAIRE
- Journal :
- ACM Transactions on Asian Language Information Processing
- Accession number :
- edsair.doi...........07bcb7b15e2e1c75bb70ac13b53655d8
- Full Text :
- https://doi.org/10.1145/1039621.1039623