Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How can i implement a cosine-based similarity? #171

Closed
chembohuang opened this issue Oct 20, 2020 · 2 comments
Closed

How can i implement a cosine-based similarity? #171

chembohuang opened this issue Oct 20, 2020 · 2 comments
Labels
Q&A Questions (and hopefully answers) about Elastiknn usage

Comments

@chembohuang
Copy link

there are L1, L2, jaccard,, hamming, angular similarity, however, the cosine similarity is missing, r u going to implement one?

@chembohuang
Copy link
Author

it turns out the angular function similarity is the cosine similarity :)

@alexklibisz
Copy link
Owner

Sorry, just saw this.
Yes, I'm possibly conflating "angular" and "cosine". The actual implementation is basically what you get if you lookup cosine similarity on Wikipedia.

@alexklibisz alexklibisz added the Q&A Questions (and hopefully answers) about Elastiknn usage label Jun 27, 2021
Repository owner locked and limited conversation to collaborators Jul 17, 2022
@alexklibisz alexklibisz converted this issue into discussion #367 Jul 17, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Q&A Questions (and hopefully answers) about Elastiknn usage
Projects
None yet
Development

No branches or pull requests

2 participants