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

Spectrum binner to data generator #128

Closed niekdejonge closed 1 year ago

niekdejonge commented 1 year ago

Currently the data generator requires the number of bins and additional input. There is a risk that no additional input is applied, while it is used in the spectrum binner, which might result in the user not being aware that this is not used. To solve this we can pass the spectrum_binner to datagenerator. This also helps since it will not be necessary to specify bin anymore.

niekdejonge commented 1 year ago

@florian-huber This is an in between PR with the following changes: