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

medoids tree takes too long #130

Open
lmrodriguezr opened this issue Mar 29, 2021 · 0 comments
Open

medoids tree takes too long #130

lmrodriguezr opened this issue Mar 29, 2021 · 0 comments
Assignees
Milestone

Comments

@lmrodriguezr
Copy link
Member

The construction of medoid trees when externally querying a project takes too long because the entire AAI matrix is processed and filtered for medoids. A better approach (when number medoids << reference datasets) would be to use the individual SQLite databases.

The relevant code is located at utils/distance/pipeline.rb (#build_medoids_tree). It would be great to build a matrix processor directly in lib/miga instead, which would also facilitate a CLI utility to extract (sub-)matrices.

@lmrodriguezr lmrodriguezr added this to the 1.1 milestone Mar 29, 2021
@lmrodriguezr lmrodriguezr self-assigned this Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant