We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current index add method adds a single vector. Is it possible to add 2D numpy array of vectors and use the array row position as the index.
# proposal for consideration a = np.array([[1,2,3],[4,5,6]] index.add(a)
# currently for i in a: index.add(sample, i).unwrap();
The text was updated successfully, but these errors were encountered:
great advice, I would add it next version as soon as possible!
Sorry, something went wrong.
Thanks that will save one loop through the data. SCIKIT KDtree uses the full arrayby default. https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KDTree.html
No branches or pull requests
The current index add method adds a single vector. Is it possible to add 2D numpy array of vectors and use the array row position as the index.
The text was updated successfully, but these errors were encountered: