from annoy import AnnoyIndex | |
index = AnnoyIndex(1) | |
for x in range(10000): | |
id = "%d000%d" % (x,x) | |
index.add_item(int(id),[x]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from annoy import AnnoyIndex | |
index = AnnoyIndex(1) | |
for x in range(10000): | |
id = "%d000%d" % (x,x) | |
index.add_item(int(id),[x]) |