Skip to content
K Nearest Neighbors episode artwork

EPISODE · Feb 17, 2019 · 16 MIN

K Nearest Neighbors

from Linear Digressions · host Katie Malone

K Nearest Neighbors is an algorithm with secrets. On one hand, the algorithm itself is as straightforward as possible: find the labeled points nearest the point that you need to predict, and make a prediction that’s the average of their answers. On the other hand, what does “nearest” mean when you’re dealing with complex data? How do you decide whether a man and a woman of the same age are “nearer” to each other than two women several years apart? What if you convert all your monetary columns from dollars to cents, your distances from miles to nanometers, your weights from pounds to kilograms? Can your definition of “nearest” hold up under these types of transformations? We’re discussing all this, and more, in this week’s episode.

Episode metadata supplied by the publisher feed · Published Feb 17, 2019

Embed this episode

Ready to play

K Nearest Neighbors

0:00 16:25

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

Frequently Asked Questions

How long is this episode of Linear Digressions?

This episode is 16 minutes long.

When was this Linear Digressions episode published?

This episode was published on February 17, 2019.

Can I download this Linear Digressions episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!