-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated optimize to handle combination of multiple intervention templ…
…ates (#591) * Updated optimize to handle multiple intervention templates - updated typing for interventions input to optimize - created a lambda function to combine different intervention templates * Update optimize_interface.ipynb * Update optimize_interface.ipynb * fixed how callable list is read in 'ouu.py' * Update optimize_interface.ipynb * Add tests for combined intervention templates * Fixed tests to run with new setup of interventions * added intervention function combinator and example usage in the notebook (which should be deleted) (#595) Co-authored-by: Sam Witty <[email protected]> * Update intervention_builder.py * Update intervention_builder.py * update data type * fix data type * updated notebook * typing * typing for interventions changed from float to Tensor * Lint * Typing * Update ouu.py * Update intervention_builder.py * Updates for type matching * Update ouu.py --------- Co-authored-by: Sam Witty <[email protected]>
- Loading branch information
1 parent
a44045f
commit adeb6b9
Showing
6 changed files
with
392 additions
and
38 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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