NLeSC / mcfly

A deep learning tool for time series classification and regression
Apache License 2.0
362 stars 82 forks source link

Get default settings from the Model files #242

Open bsolino opened 4 years ago

bsolino commented 4 years ago

Currently the default settings are inside the generate_models function https://github.com/NLeSC/mcfly/blob/5ebeefc392c777372f943dfae51f7fcc48e4123d/mcfly/modelgen.py#L125 and duplicated in the tests in https://github.com/NLeSC/mcfly/blob/693fcb63ce7d462e932481dfa3b2ddeb1db3d42c/tests/test_modelgen.py#L10

It would make more sense to have them as static information accessible from other parts of the code