-
Notifications
You must be signed in to change notification settings - Fork 12
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
Revise basic SIR tutorial #377
Merged
Merged
Conversation
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
…into sw-revise-SIR-tutorial
…into sw-time-collision
…into sw-time-collision
…into sw-time-collision
…causal_pyro into sw-time-collision
…plied after all solves
SamWitty
added
status:awaiting review
Awaiting response from reviewer
and removed
status:WIP
Work-in-progress not yet ready for review
labels
Dec 6, 2023
eb8680
reviewed
Dec 6, 2023
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.
Looks much better! Two comments:
- Can you remove the
.diff
method indirection in the models following Use functional interface for dynamical systems #341? - Should we consider moving the
pyro.deterministic
calls in helper functions likesimulated_bayesian_sir
that expose the trajectory toPredictive
into ourLogTrajectory
handler?
eb8680
added
status:awaiting response
Awaiting response from creator
and removed
status:awaiting review
Awaiting response from reviewer
labels
Dec 6, 2023
missed merge conflict
5 tasks
SamWitty
added
status:awaiting review
Awaiting response from reviewer
and removed
status:awaiting response
Awaiting response from creator
labels
Dec 7, 2023
@eb8680 , I believe these are now addressed. |
eb8680
approved these changes
Dec 7, 2023
This was referenced Dec 7, 2023
SamWitty
added a commit
that referenced
this pull request
Dec 8, 2023
* Revise basic SIR tutorial (#377) * changes dynamical systems intro to be more short-term focussed * suppress warnings * remove counterfactual demo * remove unused imports and reorder imports * add failing LogTrajectory test * revise tests to exercise start and end time collisions * removed unnecessary imports from test * much simpler implementation * lint and comment * added some functional indirection to appease linter * lint * type refinement * nit about arg unpacking order * added multiple simulate handling * remove commented stop * lint * made BatchObservation handler use a continuation to guarantee it's applied after all solves * lint * add dynamical intro notebook to CI build * add CI test parameters * add a bunch of textual content * Added description of example * fixed bug in inference and added some plot changes * fixed bug in inference and added some plot changes * updated plots * updated plots * more plot updates * more plot updates * finished first pass of text, will edit tomorrow morning * reran and minor edits * text edits * add glossary * Update solver.py missed merge conflict * previous commit fix * add dynamical systems dependencies to CI workflow * addressing comments * reran notebook * Mention dynamical systems module in README (#435) * Make State into a type alias of Mapping (#433) * Make State a Mapping * fix construction * add dynamical to test requirements (#434) * Fix header formatting in dynamical_intro (#436) * Fix header formatting in dynamical_intro * fix bullet spacing --------- Co-authored-by: Sam Witty <[email protected]> --------- Co-authored-by: Sam Witty <[email protected]> Co-authored-by: eb8680 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
This PR revises the basic example as follows:
seaborn