In statistics, the k-nearest neighbours algorithm (k-NN) is a non-parametric supervised learning method first developed byThis notebook goes over how to use a retriever that under the hood uses a kNN. Largely based on the code of Andrej Karpathy.Evelyn Fix
andJoseph Hodges
in 1951, and later expanded byThomas Cover
. It is used for classification and regression.