K-nearest neighbors
Also known as KNN, k-NN, nearest neighbor classifier. This is the canonical page; those names redirect here.
Pairings in the atlas
- Euclidean distancecanonInstance-based classificationmachine-learning
- Mahalanobis distancestandardCorrelation-aware classificationmachine-learning
- Distance-weighted votingstandardInstance-based classificationmachine-learning
Rivals: other methods for the same problems
- AdaBoost
- C4.5
- CART
- CatBoost
- Core vector machine
- Decision tree
- Ensemble selection
- Extremely randomized trees
- Gaussian process classification
- Gradient boosting
- Kernel Fisher discriminant
- Kernel density classification
- Kernel logistic regression
- Kernel perceptron
- Least-squares SVM
- LightGBM
- Logistic regression
- Maximum entropy classifier
- Naive Bayes
- Passive-aggressive
- Pegasos
- Perceptron
- Random forest
- Stacking