You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, I once needed code to do fast calculation of nearest-neighbors of a given data point
First google hit for "nearest neighbor" is scikit-learns k nearest neighbor classifier, which links to the BallTree and KDTree classes it uses for neighbor finding:
Also, researching nearest neighbors in generall, will give you the answer, that a KDTree is one of the most efficient algorithms to do this and googling kdtree python will yield the scipy implementation as first hit.
The text was updated successfully, but these errors were encountered:
I did make a point of saying I wasn't interested in the classification app. Thanks for the tip on kdtree. Doesn't surprise me but it didn't come up in my PyPI search, which was my pt.
First google hit for "nearest neighbor" is scikit-learns k nearest neighbor classifier, which links to the
BallTree
andKDTree
classes it uses for neighbor finding:Little more googling about those algorithms gives you:
Also, researching nearest neighbors in generall, will give you the answer, that a KDTree is one of the most efficient algorithms to do this and googling
kdtree python
will yield the scipy implementation as first hit.The text was updated successfully, but these errors were encountered: