Open matt90luo opened 3 years ago
Is that different from the cosine/angular similarity?
Closing to keep things tidy. Feel free to re-open if you have any followup.
Is that different from the cosine/angular similarity?
Hi, i think that the dot product could be an improvement in performance, and easy to implement. As cosine_similarity(v1,v2) = dot_product(v1/v2)/(||v1|| * ||v2||)
using dot_product simplifies the computation as the magnitude of the vectors are not needed reducing the computation time to 1/3 of the original one, And most of the funcitonality is there
Is there any plan to support inner product similarity measures?