Add methods for easy development and benchmarking of method variants#3
Closed
niekdejonge wants to merge 48 commits intochange_ms2deepscore_versionfrom
Closed
Add methods for easy development and benchmarking of method variants#3niekdejonge wants to merge 48 commits intochange_ms2deepscore_versionfrom
niekdejonge wants to merge 48 commits intochange_ms2deepscore_versionfrom
Conversation
Fix umap-learn requirement
… and exact match searches
… current code base)
…r and to select top k highest ms2deepscores
…correct types of output)
Collaborator
Author
|
This is all included in #4, so this PR can now be closed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was initially developed in chemical space exploration but moved here now.
Here we implement benchmarking methods for easy testing of different variants for an analogue search.
There is some overlap in functionality with ms2query_library and MS2Query_database. I looked into merging these directly, but this was not very straightforward, so I propose to first merge it separately in the code base. Some benchmarking methods can be developed without using the sqlite library (like cosine score matching). But it would be nice to create a mapping from sqlite library to SpectrumDataSet, so we can in that way merge both into one.
The reason why it is not very easy to merge right now is that the benchmarking method requires many different library + query pairs, to test exact matching benchmarking. I have set this up to be fast, but for an sqlite library it would require recreating the sqlite library many times and rebuilding the ANN method.