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 FixandJoseph Hodgesin 1951, and later expanded byThomas Cover. It is used for classification and regression.
Create New Retriever with Texts
Use Retriever
We can now use the retriever!Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.