sparse_dot_topn icon indicating copy to clipboard operation
sparse_dot_topn copied to clipboard

How to user other similarity method other than cosine

Open yinxiongchen opened this issue 4 years ago • 2 comments

I am trying to calculate the similarity score other than consine. How should I modify it?

yinxiongchen avatar Oct 10 '20 08:10 yinxiongchen

@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 avatar Oct 10 '20 13:10 ymwdalex

@ymwdalex where you able to measure the performance with respect to annoy and faiss?

Mikehem avatar Nov 15 '21 12:11 Mikehem