matchms / ms2deepscore

Deep learning similarity measure for comparing MS/MS spectra with respect to their chemical similarity
Apache License 2.0
48 stars 22 forks source link

Improve plotting #166

Closed niekdejonge closed 6 months ago

niekdejonge commented 7 months ago

Improved the plotting. The plotting now equally weights each inchikey, by sampling 1 spectrum per inchikey multiple times. Also updated the pipeline for training and plotting.

The training and calculating of tanimoto and ms2deepscores for validation spectra is now done during a training run, while the plotting can also be easilty run separately. This is helpful, since creating the plots does not take too long and is expected to be changed most (formatting, new ways of visualizaiton etc). While the validation reference scores calculation can take more than an hour, so this should be run directly after training.

To do: