-
Notifications
You must be signed in to change notification settings - Fork 119
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
Why use dot as a measure of similarity? #11
Comments
They use dot in the paper to measure similarity, while the loss function optimize the Euclid distance. It makes me confused. |
Sorry, but where indicate the calculation of similarity in the original paper? I saw the code use dot, too. Thanks |
1 similar comment
Sorry, but where indicate the calculation of similarity in the original paper? I saw the code use dot, too. Thanks |
Sorry, the author did not mention in the paper. I once asked him and he told me he have tried using Euclidean distance to measure similarity but get worse performance. |
Thanks, so am I. From the loss function, Euclidean distance may be the most reasonable way, but when I get the embedding to link prediction task(my own dataset), the results were embarrassing. |
in utils.py, why use the embedding's dot in the function getSimilarity,
The text was updated successfully, but these errors were encountered: