Open xd009642 opened 4 years ago
Cosine similarity would fit quite well in the scope - we already have a bunch of distance functions, so we can definitely expand the collection. What else do you have in mind?
Hmm only other distance function I've made use of in my day to day has been KL divergence, I'm sure there's other common ones though :smile:
Oh well that's an easy one to cross off then :joy:
Do you have any other distance metrics in mind?
Just wanted to check in on this issue? Adding cosine similarity seems like something I could do so I might take a crack if there's no other constraints.
Title is fairly self explanatory, I've found the need for cosine distance at various times (and other distance metrics) that probably fit well in ndarray-stats. Maybe here we can decided on a few different ones and what is/isn't in scope for this crate