spec2vec
spec2vec copied to clipboard
Define Spec2VecModel
Inspired by recent work we did on MS2DeepScore
-> https://github.com/matchms/ms2deepscore/issues/23
--> Define a Spec2VecModel that contains the Word2Vec
gensim model as well as a the parameters used to create the SpectrumDocument
Key parameters:
- decimal rounding
- mz_min, mz_max, loss_mz_min, loss_mz_max
Maybe also important to consider: make add_losses
part of Spec2Vec scoring as well (if not done yet).
Outdated.