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
| import sciris as sc | |
| T = sc.timer() | |
| POP_SIZE = 5 | |
| import gbd_mapping | |
| # Import the relevant sections of the component library |
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 dask.distributed import get_client, wait | |
| import starsim as ss | |
| import typhoidsim_calibration_workflows as tyc | |
| import sciris as sc | |
| import pandas as pd | |
| import numpy as np | |
| import coiled | |
| import optuna as op | |
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
| ''' | |
| Compare different Python plotting libraries. | |
| ''' | |
| import numpy as np | |
| # Choose the library | |
| library = ['matplotlib', 'mpld3', 'bokeh', 'plotly', 'altair'][:] | |
| do_show = True |