python - Vertically/ horizontally closest boxes R-Tree -
i experimenting r-tree package in python. while there's way nearest neighbor search, there way produce k nearest neighbors based on vertical/ horizontal distance separately?
you create 2 additional data-sets, "projecting" points each axis removing other coordinate. then, you'll have transformed problem 1-dimensional nearest-neighbour search.
Comments
Post a Comment