k-nearest neighbours (kNN)
DeeperA method that judges a new item by looking at the most similar known items nearby.
Imagine moving to a new street and guessing its character from the nearest few homes. The 'k' is simply how many neighbours the method consults. The result depends heavily on how similarity and distance are measured.
A new flower is classified by checking the labels of the five most similar measured flowers.