Closed scottgigante closed 4 years ago
Thank you for your interest.
Although NGT does not have batch_query you mentioned, you only have to iterate search() with all of the registered objects after constructing an index.
Thanks. I was hoping to avoid a Python for loop, but this will be sufficient. Thank you!
Thanks for building NGT, this is excellent! I'm wondering what would be the most efficient way to compute the approximate k nearest neighbours for all data points in the index in python. I see you have a
batch_insert
function but I do not see an equivalentbatch_query
function. The equivalent code in e.g. scikit-learn would be