Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # Simple SEIR model | |
| # by: Travis N. Vaught | |
| # | |
| # This is a bokeh version of the model shown here: | |
| # https://scipython.com/book/chapter-8-scipy/additional-examples/the-sir-epidemic-model/ | |
| # and here: | |
| # https://towardsdatascience.com/social-distancing-to-slow-the-coronavirus-768292f04296 | |
| # | |
| # Dependencies: | |
| # numpy, scipy, bokeh |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| from scipy.stats import norm, uniform, gamma | |
| from matplotlib.pyplot import rc, rcdefaults, subplots, imread, show | |
| from matplotlib.lines import Line2D | |
| from matplotlib.ticker import MultipleLocator | |
| from matplotlib.transforms import blended_transform_factory | |
| from matplotlib.offsetbox import VPacker, TextArea, AnchoredOffsetbox, DrawingArea | |
| from matplotlib.image import BboxImage | |
| from numpy.random import default_rng |
OlderNewer