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

finalize issue 177 #179

Closed niekdejonge closed 5 months ago

niekdejonge commented 5 months ago

I have futher integrated #178 into the rest of the pipeline.

The validation loss is now calculated per bin. We just randomly select one spectrum per inchikey and do an all vs all comparison between all these spectra. The losses are calculated by calculating the loss for each inchikey bin and taking the mean.

This means we do not use the multiple available validation spectra for each inchikey, but this is intentional. This speeds up the running, without a lot of loss of generatlization. But it would be easy to implement sampling multiple spectra per inchikey.

Still to do:

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud