matchms / ms2deepscore

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

Make a MS2DeepscoreSettings class #149

Closed niekdejonge closed 8 months ago

niekdejonge commented 11 months ago

There are many different settings used when training a MS2Deepscore model.

E.g. Epochs, base_dims, embedding_dim, results_folder, additional_metadata, etc…

Passing this on from function to function becomes hard to follow. Instead it is better to use a Settings class that stores all the default and changed settings. This will make the cod easier to read.

It also allow for easy implementation of storing training settings used for each model.

niekdejonge commented 8 months ago

Has been implemented in #154