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

[FEA] Enable direct cosine distance computation in nearest neighbors algorithms #2033

Open
1 of 5 tasks
cjnolet opened this issue Nov 30, 2023 · 0 comments
Open
1 of 5 tasks

Comments

@cjnolet
Copy link
Member

cjnolet commented Nov 30, 2023

Currently, the angular distance can be computed in these methods using the inner product of the normalized vectors (or l2 of l2-normalized vectors) but this puts the burden of managing the norms and doing the normalization on the users. We should support cosine first-class right in the distance computation to alleviate these burdens.

Tagging @liliu-z for awareness and tracking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants