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

Create non-discrete HNSW #9

Closed
vadixidav opened this issue Aug 10, 2019 · 1 comment
Closed

Create non-discrete HNSW #9

vadixidav opened this issue Aug 10, 2019 · 1 comment

Comments

@vadixidav
Copy link
Member

Right now this crate only has DiscreteHNSW, which is incredibly useful for some specific tasks, particularly in performance computer vision. However, HNSW has nothing to do with discrete spaces at all, and the DiscreteHNSW is just a bunch of optimizations specific to discrete spaces. A general HNSW should be created that can operate on any two feature vectors for which distance can be computed where the computed distance is an f32. A trait should be created for this distance type, and it should also be implemented on things that support the DiscreteDistance trait.

@vadixidav
Copy link
Member Author

Done in master.

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

1 participant