Open hschellman opened 2 years ago
Make a ModelWithConfig class that can take a config file that creates a list of models.
Main config MnvH1D
Models.json contains things like
{MnvH1D:{weigher1:X, weigher2:b ...
and the code is smart enough to read a model name and give you the function.
2 ways to do this - hard coding (if config == X) models.append(Y) or make a map like CVFunctions that makes it a bit cleaner.
That way you can document all the models and then dump the config into the output.
Make a ModelWithConfig class that can take a config file that creates a list of models.
Main config MnvH1D
Models.json contains things like
{MnvH1D:{weigher1:X, weigher2:b ...
and the code is smart enough to read a model name and give you the function.
2 ways to do this - hard coding (if config == X) models.append(Y) or make a map like CVFunctions that makes it a bit cleaner.
That way you can document all the models and then dump the config into the output.