k-nearest neighbours classifies each observation by majority vote of its k closest standardized neighbours, validated leave-one-out.
kNN is a non-parametric, instance-based classifier: no model is fit — a point's class is decided by the classes of its k nearest points in predictor space. Small k tracks local structure (low bias, high variance); large k smooths (vice versa).
Because distances drive everything, standardization matters: an unstandardized predictor with a large scale dominates. LOOCV classifies each point with itself held out — the reported accuracy is honest.
Categorical outcome + numeric predictors + k + standardization toggle.
LOOCV accuracy, confusion matrix, per-class error.
Try a few k values; accuracy that collapses with small k suggests noise, with large k suggests over-smoothing.