The Real Python Podcast cover image

Using NumPy and Linear Algebra for Faster Python Code

The Real Python Podcast

00:00

Using K Nearest Neighbors in Scikit-Learn

In scikit-learn, you find the points that are closest to something that you already know. So let's say I have like an unknown point and the three closest spreads are all peanut butter. You don't need to find exactly the distance to every single other spread. You just need to know, okay, I'm in the general neighborhood of peanut butter. It's good enough. And it's surprising how difficult they are to solve.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app