Repository navigation
Add support for inverted index queries - #42
Conversation
|
With the 661k data, index sizes: |
|
Current prequery mode (which is probably inefficient) takes ~ 2.5hrs (1 thread) and uses about 420Gb RAM (but I think streaming output would avoid this): About 10% of possible values, at k=21 and s=5. |
|
May be better to use all bins shared rather than one bin shared. Ideas for this: Option 1) Option 2) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #42 +/- ##
===========================================
+ Coverage 70.11% 85.08% +14.96%
===========================================
Files 16 17 +1
Lines 2252 2735 +483
===========================================
+ Hits 1579 2327 +748
+ Misses 673 408 -265 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Test with 10k genomes:
|
|
Just checking the 50 NN in the refs:
|
Makes lib.rs easier to read for dist subcommand Also add some logging messages for inverted reorder
Move sketch functions into a submodule
Update to newer snapbox to allow output order to change (as multithreaded)
Fixed skq stride
Check skq
Hopefully more intuitive sort in the code Tests added
This will add two new functions:
inverted query. To run new samples against an inverted index, returning the number of bins matched, or samples which match at all bins.inverted precluster. Find samples which match in the inverted index, before calculating their distances using the normal sketching modeTODO: