-
Notifications
You must be signed in to change notification settings - Fork 17
1293 update secir groups surrogate models #1297
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
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
3c22df2
Adding different methods for generating dampings
mhheger 9a1b6cc
[ci skip] included multiple dampings
mhheger 26caf61
Adjusting data preparation to handle multiple dampings
mhheger 3c93f21
Updating tests due to changed functionality
mhheger e37e143
Adding comments
mhheger ae4e9ee
Update tests and add saving/loading model architecture
mhheger 81a91de
Update tests
mhheger 909bfee
Changes in test file
mhheger 5a0aeae
updating tests
mhheger 5e3d290
debugging test
mhheger 653a6ec
Changing test files
mhheger 0f12f57
Delete pycode/memilio-surrogatemodel/memilio/surrogatemodel/ode_secir…
mhheger 2870857
small modifications
mhheger 1663411
Updating Tests
mhheger 953c216
Undo changes
mhheger ed2caef
Adding test, whether stored weights are equal
mhheger 35b5426
Changing default method for dampings
mhheger bb937fc
Adding more variable error handling
mhheger 65e4bfb
Merge branch 'main' into 1293-update-secir-groups-surrogate-models
mhheger fb55844
Include minimal distance between dampings and minimal damping day
mhheger b92d2e4
Applying the review comments
mhheger 8fea15c
Including review comments
mhheger aab1849
checking ci fail
mhheger a27a0c9
CI fails
mhheger 71f26af
Inserting grid search values
mhheger 49db37c
Ci test
mhheger 9923be4
ci fails
mhheger 86874c5
Typo
mhheger 9dd10fd
Try to fix CI fails
mhheger d5d46b9
Trying to find reason for CI fail
mhheger 8e23272
Collecting grid_search and helper functions in a utils folder
mhheger 35f61a9
Including dampings in utils folder
mhheger 683278f
Fixing typo in docs
mhheger 2f8e37f
Adding __init__
mhheger 6deedff
Adding tests for utils and including review
mhheger 636ce06
Using the existing fit_age_groups method inside the interpolate age g…
mhheger e5fa344
Update README files
mhheger 82a50bb
small modifications (typos, renaming etc.)
mhheger 2b3a497
Update dependencies
mhheger df10a6c
Updating the refs
mhheger 57d82b4
Include test for interpolate_age_groups
mhheger 69ad690
CI fails
mhheger bdcc4fc
Mocking fit_age_groups_interpolate
mhheger 6af9d33
Mocking interpolation
mhheger bcc2b47
Deleting import in test files
mhheger 9b9d8e9
updating import
mhheger 2268ee1
Undo interpolate_age_groups
mhheger bd9604a
delete import
mhheger 5c42866
Delete save and load model
mhheger 0d96161
Update pycode/memilio-surrogatemodel/memilio/surrogatemodel/ode_secir…
mhheger 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
6 changes: 3 additions & 3 deletions
6
pycode/memilio-surrogatemodel/memilio/surrogatemodel/ode_secir_groups/README.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# SECIR model with multiple age groups and one damping | ||
# SECIR model with multiple age groups and multiple dampings | ||
|
||
This model is an application of the SECIR model implemented in https://github.com/DLR-SC/memilio/tree/main/cpp/models/ode_secir/ stratified by age groups using one damping to represent a change in the contact matrice. | ||
The example is based on https://github.com/DLR-SC/memilio/tree/main/pycode/examples/simulation/secir_groups.py which uses python bindings to run the underlying C++ code. | ||
This model is an application of the SECIR model implemented in https://github.com/DLR-SC/memilio/tree/main/cpp/models/ode_secir/ stratified by age groups using dampings to represent changes in the contact matrix. | ||
The example is based on https://github.com/DLR-SC/memilio/tree/main/pycode/examples/simulation/ode_secir_groups.py which uses python bindings to run the underlying C++ code. |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.