Skip to content
Richard Kapustynskyj

Tag: nearest neighbour

Nearest neighbour speed tests

by RichardPythonPosted on January 22, 2022January 22, 2022No Comments

In my last post I shared some code to find the nearest neighbour for each point in a geopandas dataframe to each point in another geopandas dataframe. The bethod involved using the balltree function from sklearn. I want to generalise this method so that, for a given set of candidate points, we can find the …

Read more “Nearest neighbour speed tests”

Powered by WordPress Inspiro WordPress Theme by WPZOOM