You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I tried using this for 3D vectors but am not getting great results... was wondering if something like this might be possible using this library?
import numpy as np
import annax
import scipy.spatial
data = np.random.random((1000, 3))
index = annax.Index(data)
query = np.random.random(3)
neighbors, distances = index.search(query, k=10)
print(distances)
sp_distances, sp_neighbors = scipy.spatial.cKDTree(data).query(query, k=10)
print(sp_distances)
The text was updated successfully, but these errors were encountered:
Hello, I tried using this for 3D vectors but am not getting great results... was wondering if something like this might be possible using this library?
The text was updated successfully, but these errors were encountered: