pixelogik / NearPy

Python framework for fast (approximated) nearest neighbour search in large, high-dimensional data sets using different locality-sensitive hashes.
MIT License
763 stars 151 forks source link

Manhattan distance function #13

Closed owo closed 10 years ago

owo commented 10 years ago

I created the file distances/manhattan.py that implements the Manhattan distance function. I needed it for my own work, but thought it might be useful to the NearPy library in general. Let me know if anything needs to be changed or added.

pixelogik commented 10 years ago

Cool thing :) i will add a test for it.