sparse_dot_topn
sparse_dot_topn copied to clipboard
How to user other similarity method other than cosine
I am trying to calculate the similarity score other than consine. How should I modify it?
@yinxiongchen thanks for your interests.
This package only support cosine similarity. If you want other metrics approximately similarity computation, you can check some package like https://github.com/spotify/annoy or https://github.com/facebookresearch/faiss
@ymwdalex where you able to measure the performance with respect to annoy and faiss?