[Numpy-discussion] Proposal: scipy.spatial

James Philbin philbinj@gmail....
Wed Oct 1 07:40:20 CDT 2008


> distances, indices = T.query(xs) # single nearest neighbor
I'm not sure if it's implied, but can xs be a NxD matrix here i.e.
query for all N points rather than just one. This will reduce the
python call overhead for large queries.

Also, I have some c++ code for locality sensitive hashing which might be useful?

James


More information about the Numpy-discussion mailing list