What is: k-Nearest Neighbors?
Year | 2000 |
Data Source | CC BY-SA - https://paperswithcode.com |
-Nearest Neighbors is a clustering-based algorithm for classification and regression. It is a a type of instance-based learning as it does not attempt to construct a general internal model, but simply stores instances of the training data. Prediction is computed from a simple majority vote of the nearest neighbors of each point: a query point is assigned the data class which has the most representatives within the nearest neighbors of the point.
Source of Description and Image: scikit-learn