Skip to main content
SWStudyWalks Search

Artificial Intelligence / Unit 8   AI 0404 short lesson, about 20 seconds

Nearest Neighbor

Captions available

The idea

The nearest-neighbor method stores the training examples and answers a new case by copying the most similar stored case's answer.

In practice

Match a new day against six stored days, count agreeing features, copy the closest day's outcome.

Where people slip

No rule is extracted — the data is the predictor, plus one load-bearing ingredient: a definition of similar.

Your place on the trail

Every lesson rests on earlier ones and opens later ones. Tap any to jump.

Something wrong in this lesson? Flag it  ·  Sources for Artificial Intelligence