Source: /cirosantilli/k-nearest-neighbors-algorithm

= k-nearest neighbors algorithm
{c}
{wiki}

= k-NN
{c}
{synonym}
{title2}

One of the most simply classification algorithm one can think of: just see whatever kind of point your new point seems to be closer to, and say it is also of that type! Then it is just a question of defining "close".

<Scikit-learn> implementation https://scikit-learn.org/stable/auto_examples/neighbors/plot_classification.html at \a[python/sklearn/knn.py]