-
Notifications
You must be signed in to change notification settings - Fork 0
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
Initial version of updated README #8
base: staging
Are you sure you want to change the base?
Conversation
sumodm
commented
Jun 10, 2020
- Added notes on repo organization
- Added notes on adding new notebooks and code to src (prod)
- Added basic notes on workflow
1. Added notes on repo organization 2. Added notes on adding new notebooks and code to src (prod) 3. Added basic notes on workflow
1. We follow [git-flow](https://nvie.com/posts/a-successful-git-branching-model/) with staging in our parlance being develop in theirs. | ||
2. Ensure that your code satisfies [pep8](https://www.python.org/dev/peps/pep-0008/) | ||
3. Ensure that you have documentation as per [pep257](https://www.python.org/dev/peps/pep-0257/) | ||
4. TODO: Decide PEP257, PEP287, something else. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by todo decide ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's task reminder for me to decide which docstring format we want to use.
|-- training_module.py : Training module, this currently used hyperopt to optimize | ||
|-- data_fetcher_module.py : Data fetcher module for fetching various data into requisite format | ||
`-- scenario_forecasting_module.py : Scenario based forecasting module. | ||
`-- utils : Various tools like loss_funcs, hyperopt wrapper etc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Readme description is fine but directory requires cleanup
4. TODO: Need to expand this and verify this. | ||
|
||
## Adding new model wrapper to Production (src) | ||
1. If you need new parameters, then update that in entities in forecast_variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean new time series variables as inputs (parameters sounds like model parameters)?
2. If you are adding new model | ||
a. Then add that in model_class.py | ||
b. Create your new_model.py in model_wrappers and update the model_factory | ||
3. if you want this model to be intervention enabled, then write the wrapper that maps variables call it intervention_enabled_your_model.py and place in model_wrappers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I understand Anupama's point. This intervention_enabled_X is clunky. Next round of refactoring, let us think through and fix it