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

Add function to `engine` to remove an item from the index #27

Closed audy closed 8 years ago

audy commented 10 years ago

I would like to be able to remove things from a bucket.

I think the function should look like this:

engine.remove(id)
# what should it return?
# what should happen if `id` is not in the index?

So simple I might come back with a PR.

pixelogik commented 10 years ago

Sounds good. If you have time for it right now, would be awesome if PR. I am moving right now, chaoos