AI ATLASAn interactive field guide
Concept 11 / First models / Local decisions

Nearest-neighbor classification.

A new point borrows the labels of nearby examples. Move the query through a genuine three-feature dataset and watch the nearest points, votes, and decision slice update.

The neighbor atlas

Drag on the floor to move the query, or use the coordinate sliders.

01 / Decision spaceQuery 0.5, 0.5, 0.5
Drag floor to move query · orbit elsewhere
The colored floor is a decision slice at the current third-feature value. Connecting lines identify the actual k nearest records.

Nearest records

How to read the field

The map uses X and Y for its floor and Z for height. Each distance includes all three features. The colored decision slice is recalculated for the query’s current Z value; tie votes use the closest among tied classes.