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

Use a random subset of vectors to generate trees #87

Open
Kerollmops opened this issue Aug 26, 2024 · 0 comments
Open

Use a random subset of vectors to generate trees #87

Kerollmops opened this issue Aug 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Kerollmops
Copy link
Member

The current indexer uses the full set of vectors to generate the trees. The advantage is that the split planes are very representative of the actual vectors we have in the database. The const is that it takes a lot of memory, even if it is memory-mapped.

So, to reduce the memory used to index the vectors, we should only use a subset of the vectors to generate the tree and then add the other vectors, the ones not used to generate the planes, back into the tree. With or without refining the planes, I don't know, but probably without. Those vectors can probably be added by using incremental insertion.

@Kerollmops Kerollmops added the enhancement New feature or request label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
@Kerollmops and others