Nearest neighbours (k-NN)

Classify a new point by letting the k most similar training examples vote.

See it in action

Try nearest neighbours (k-nn) hands-on in the lesson Learning from examples, part of the AI fundamentals course.

Open the lesson