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

Knnsearch #330

Closed
wants to merge 6 commits into from
Closed

Knnsearch #330

wants to merge 6 commits into from

Conversation

friendlymatthew
Copy link
Collaborator

After inserting (0, 0), (3, 3), (4, 4), (5, 5).

When searching for the top 2 closest points to q = (5, 5), we should expect the following queue from the knnsearch:

top 2:
id: 3, point: (5, 5)
id: 2, point(4, 4)

Copy link

github-actions bot commented Jun 5, 2024

pkg/hnsw/hnsw.go Outdated Show resolved Hide resolved
@friendlymatthew
Copy link
Collaborator Author

Closing and will open new PR

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

Successfully merging this pull request may close these issues.

2 participants