nearest neighbor

Most proximate point

Nearest neighbor refers to the closest point or item to a given reference, measured by some distance metric.

In machine learning, a nearest neighbor algorithm classifies data by finding the most similar examples in a training set: The model uses k-nearest neighbors to predict housing prices based on comparable sales.

In image processing, nearest neighbor interpolation fills missing pixels by copying the closest existing one—fast but blocky.

The concept appears wherever proximity matters: The nearest neighbor to our galaxy is Andromeda.

Related

clustering · algorithm · search algorithm · search · interpolation · similar · approximate · spatial · graph · node · metric · Euclidean · classification · machine learning · training data · query · matching · lattice

Categories
Opposites
spatial/relational proximity

nearest neighborantipode

Directly opposite point

farthest point

algorithmic/computational context

nearest neighborglobal search

Lookup spanning all content

algorithmic/computational approach

nearest neighborlinear regression

Statistical straight-line fitting method

decision tree · neural network

Family

near, nearer, nearness, nearby, nearly, nearing, nears, neared, neighbor

Familiarity
Top 500,000
Profile
Known to kids · Used worldwide · Timeless · Rated G