Skip to content
New issue

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

using on word vectors #12

Open
armintabari opened this issue Oct 21, 2015 · 2 comments
Open

using on word vectors #12

armintabari opened this issue Oct 21, 2015 · 2 comments

Comments

@armintabari
Copy link

I want to use this on bunch of word vectors and find the similar ones.

Should I firs index all of the vectors, and query each one again to find the bucket number?

@phdowling
Copy link

You index all the vectors, and then use 'query' to retrieve close matches. If you need to track where your vectors come from, etc. use the 'extra_data' argument in the 'index' method.

@Dicksonchin93
Copy link

what format is needed for the 'extra_data' parameter? Does this save the label for the vector and is able to output the label rather than the vector itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants