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

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -