arrow
Return

The k conditional nearest neighbor algorithm for classification and class probability estimation

delete2019-05-13
delete18
delete
OA
AI
H
Hyukjun Gweon *
M
Matthias Schonlau
S
Stefan H. Steiner
DOI:10.7717/peerj-cs.194delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
The k nearest neighbor (kNN) approach is a simple and effective nonparametric algorithm for classification. One of the drawbacks of kNN is that the method can only give coarse estimates of class probabilities, particularly for low values of k. To avoid this drawback, we propose a new nonparametric classification method based on nearest neighbors conditional on each class: the proposed approach calculates the distance between a new instance and the kth nearest neighbor from each class, estimates posterior probabilities of class memberships using the distances, and assigns the instance to the class with the largest posterior. We prove that the proposed approach converges to the Bayes classifier as the size of the training data increases. Further, we extend the proposed approach to an ensemble method. Experiments on benchmark data sets show that both the proposed approach and the ensemble version of the proposed approach on average outperform kNN, weighted kNN, probabilistic kNN and two similar algorithms (LMkNN and MLM-kHNN) in terms of the error rate. A simulation shows that kCNN may be useful for estimating posterior probabilities when the class distributions overlap.
Keywords:
Nonparametric classification
Nearest neighbor
Probabilistic classifier
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

PeerJ Computer Science cover
PeerJ Computer Science
IF:
2.5
Papers:
3.4K
Citations:
6.9K

Organization

W
western university (university of western ontario)
Scholars:
2.9W
Papers: 2.7W
Citations: 33
U
University of Waterloo
Scholars:
2.2W
Papers: 2.3W
Citations: 3.3W