Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a ModelWithConfig class #68

Open
hschellman opened this issue Nov 22, 2022 · 0 comments
Open

Make a ModelWithConfig class #68

hschellman opened this issue Nov 22, 2022 · 0 comments
Assignees

Comments

@hschellman
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants