You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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?
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.
Activity
LukeMathWalker commentedon Mar 20, 2020
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?
xd009642 commentedon Mar 20, 2020
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 😄
LukeMathWalker commentedon Mar 20, 2020
https://docs.rs/ndarray-stats/0.3.0/ndarray_stats/trait.EntropyExt.html#tymethod.kl_divergence 😁
xd009642 commentedon Mar 20, 2020
Oh well that's an easy one to cross off then 😂
Do you have any other distance metrics in mind?
beyarkay commentedon Feb 8, 2024
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.