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
Hi, i find that in your code the sim_score is defined as ‘1-arccos(cos<x1,x2>)=1-<x1,x2>’, which makes me confused.
Why not use cosine similarity? Is it because ‘1-<x1,x2>’ makes them more distinguishable?
The text was updated successfully, but these errors were encountered:
This code is borrowed from the official code of "USE". I think it is just because it is closer to the mathematical definition of cosine similarity. I am not sure whether it is really better than cos<x1,x2>.
Hi, i find that in your code the sim_score is defined as ‘1-arccos(cos<x1,x2>)=1-<x1,x2>’, which makes me confused.
Why not use cosine similarity? Is it because ‘1-<x1,x2>’ makes them more distinguishable?
The text was updated successfully, but these errors were encountered: