This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Adding State Updating and # of Tasks to LSTM and RGCN models #104
Merged
Merged
Changes from 29 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
94d0454
adding DA capabilities to LSTM
b9f5393
updating loss functions and adding tasks to RGCN
a1ff04f
updating parameter definitions
b7e9046
updating dropout argument names
494b931
cleaning LSTM
jzwart b3f8df9
Being explicit about the number of tasks
jzwart 34e9983
cleaning up init states call
jzwart 10ffdbd
Updating rgcn for clarity
c97f179
Merge branch 'adding_da_to_models' of https://github.com/USGS-R/river…
cf95324
updating lambda_aux argument
088d4a7
making stateful based on return_state argument
4101879
separating output, rgcn layers
jsadler2 6fc687d
making a more generic multitask loss function
jsadler2 7c36a4f
adding SingletaskLSTMModel
jsadler2 c582d3d
Convert to MultitaskLSTM; update GRU classes
jsadler2 ab4cff1
explicit about number of tasks for y_data_components
jzwart 3129bd5
convenience fxn weighted_masked_rmse
jsadler2 c8c140a
lambda_aux -> lambdas in rnns
jsadler2 3e54465
num_tasks, lambdas in train functions
jsadler2 e939460
Merge branch 'adding_da_to_models' of github.com:USGS-R/river-dl into…
jsadler2 17bfab8
[#106] taking train_step out in rnns
jsadler2 2c7580b
[#106] provide loss_func to train func; compiles rnns
jsadler2 3799509
[#98] multitask nse, kge functions; rm weights
jsadler2 a4d54e2
[#106] match train cli with train.py fxn
jsadler2 0f568ae
take out unneeded check on h_/c_init in RGCN
jsadler2 6cd7b52
[#98] don't pass weights to `fit` call
jsadler2 9bc45ca
add `num_tasks` to predict fxns
jsadler2 63bb515
Snakefile updates for lambdas, num_tasks, loss_func
jsadler2 8c80003
RGCN `states` attribute; just final states
jsadler2 3eca6f2
typo in predict
jsadler2 4527d67
Black formatting and docstring corrections
jsadler2 8d061f8
attr for rnns
jsadler2 1c1641a
"outputs" -> "variables" in `num_task` docstring
jsadler2 8362981
can provide h_/c_init to initalize rnn
jsadler2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
We probably need to add a docstring to this function so that we are clear on what the arguments are.