ELI5: Explain Like I'm 5

K-nearest neighbor algorithm

K-nearest neighbor is a way to classify data. It looks at what group an item is closest to, and then assigns it to that group. Think of it like labeling items in a box. You can have a box full of apples and oranges - the k-nearest neighbor algorithm looks at the items within the box and looks for the closest items to determine what group - apples or oranges - each item belongs to.
Related topics others have asked about: