7
k-Nearest Neighbor Classifier and Supervised Clustering
This chapter introduces two classification methods: k-nearest neighbor classifier and supervised clustering, which includes the k-nearest neighbor classifier as a part of the method. Some applications of supervised clustering are given with references.
7.1 k-Nearest Neighbor Classifier
For a data point xi with p attribute variables:
and one target variable y whose categorical value needs to be determined, a k-nearest neighbor classifier first locates k data points that are most similar to (i.e., closest to) the data point as the k-nearest neighbors of the data point and then uses the target classes of these k-nearest neighbors to determine the target class of ...
Get Data Mining now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.