Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosine similarity and other distance measures #61

Open
xd009642 opened this issue Mar 19, 2020 · 5 comments
Open

cosine similarity and other distance measures #61

xd009642 opened this issue Mar 19, 2020 · 5 comments

Comments

@xd009642
Copy link
Collaborator

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

@LukeMathWalker
Copy link
Member

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
Copy link
Collaborator Author

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 😄

@xd009642
Copy link
Collaborator Author

Oh well that's an easy one to cross off then 😂

Do you have any other distance metrics in mind?

@beyarkay
Copy link

beyarkay commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants