-
Notifications
You must be signed in to change notification settings - Fork 5
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
How to compute similarity between vectors? #25
Comments
I think it's intentional. #5 |
Thank for pointing to the issue and the function. It is nice to use your |
Yes, it's a bit silly that that part is in C++. It should indeed be easier to call it in predict. |
I can help you with these things once the development of my package is completed. I hope the first version will come soon. |
I noticed that the library computes the similarity between vectors in a strange manner. The scores are not really cosine similarity but cross-products. @jwijffels , do you think it is intentional?
word2vec/src/word2vec/include/word2vec.hpp
Lines 201 to 207 in 96b0e04
See how cosine similarity is computed: https://koheiw.github.io/proxyC/articles/measures.html#similarity-measures
The text was updated successfully, but these errors were encountered: