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

The distance calculation of inner product is wrong. #37

Open
CaucherWang opened this issue Sep 24, 2023 · 1 comment
Open

The distance calculation of inner product is wrong. #37

CaucherWang opened this issue Sep 24, 2023 · 1 comment

Comments

@CaucherWang
Copy link

The inner product of two vectors represents the similarity. So we should return the largest ones as kNN. It's opposite to L2 distance.

@fc731097343
Copy link
Member

Currently we only support Euclidean distance. Nearest neighbor search mainly refers to Euclidean space. Maximum inner product problem is another active literature in info retrieval. We will consider scale our work to it in future

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

2 participants