Mathematics for AI and Machine Learning

Foundations for modern AI and machine learning

K-Nearest Neighbors

Mathematics for AI

Mathematics for AI and Machine Learning

Animated preview (GIF)
K-Nearest Neighbors — animated GIF preview
High-resolution PNG
K-Nearest Neighbors — high-resolution mind-map icon

From the book

This pictogram belongs to the Mathicon figure library for Knn. It follows the same visual conventions as the book diagrams even when it is not tied to a single printed mind-map node.

What this drawing shows

What you see. Eight unlabeled points appear, a query is placed, the neighborhood radius expands, then the three nearest turn orange and the other five turn purple.

In the book. Look up K-Nearest Neighbors in the manuscript index or chapter mind maps.

Where to read next

Look up K-Nearest Neighbors in the book index to find the matching figure or discussion. The pictogram follows the same visual conventions as the printed diagrams.