Black_lodge model/Production model template#37
Open
sarakallis wants to merge 29 commits intoproductionfrom
Open
Black_lodge model/Production model template#37sarakallis wants to merge 29 commits intoproductionfrom
sarakallis wants to merge 29 commits intoproductionfrom
Conversation
Copy pasted from src/utils in @xiaolong0728 blank_space. This script might be a good place to also do input data checks.
Getting error though, probably having issues with views6: TypeError: __init__() got an unexpected keyword argument 'from_loa'
Logic taken from viewsforecasting notebook
Adaoted from purple_alien
Not yet tested
xiaolong0728
reviewed
Jul 1, 2024
| "steps": [*range(1, 36 + 1, 1)], | ||
| "deployment_status": "production", | ||
| "creator": "Sara", | ||
| "preprocessing": "float_it", #new |
Collaborator
There was a problem hiding this comment.
where is the float_it function?
xiaolong0728
reviewed
Jul 1, 2024
| month_first = partitioner_dict['train'][0] | ||
|
|
||
| if partition == 'forecasting': | ||
| month_last = partitioner_dict['train'][1] + 1 # no need to get the predict months as these are empty |
Collaborator
There was a problem hiding this comment.
To make the current stepshifter work, we still need the predict months even if they are empty (otherwise the predictions might have some problems)
xiaolong0728
reviewed
Jul 1, 2024
| from config_hyperparameters import get_hp_config | ||
|
|
||
|
|
||
| def train(model_config, para_config): |
Collaborator
There was a problem hiding this comment.
You can refer to my new training function (I haven't merged the main so it's branch more_model and you can check orange_pasta). In short, we don't train three models together but train a specific one based on the arguments instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[Not ready to be merged]
Let's use this PR to clean up the CM model code for replicating the production ensemble
To-dos are in the model readme