raft icon indicating copy to clipboard operation
raft copied to clipboard

[FEA] CAGRA to support cosine and inner product distance

Open cjnolet opened this issue 2 years ago • 1 comments
trafficstars

Today we could do this by normalizing the vectors and using euclidean distance (to get the angular distance), but that requires preprocessing on the user's side. We should support cosine distance as a first-class option.

cjnolet avatar Aug 23 '23 19:08 cjnolet

Hello Team,

I am also wondering whether distance like hamming distance (normalized) can be provided between 2 vectors, in addition to L2 norm.

Thanks,

Jianshu

jianshu93 avatar Aug 04 '24 15:08 jianshu93