update calibration tutorial parameters
"cv.options.set(dpi=100, show=False, close=True, verbose=0) # Standard options for Jupyter notebook\n",
"\n",
"pars = dict(\n",
- " pop_size = 10_000,\n",
+ " pop_size = 20_000,\n",
" start_day = '2020-02-01',\n",
" end_day = '2020-04-11',\n",
" beta = 0.015,\n",
"def objective(x, n_runs=10):\n",
" print(f'Running sim for beta={x[0]}, rel_death_prob={x[1]}')\n",
" pars = dict(\n",
- " pop_size = 10_000,\n",
+ " pop_size = 20_000,\n",
" start_day = '2020-02-01',\n",
" end_day = '2020-04-11',\n",
" beta = x[0],\n",
"\n",
"# Create default simulation\n",
"pars = sc.objdict(\n",
- " pop_size = 10_000,\n",
+ " pop_size = 20_000,\n",
" start_day = '2020-02-01',\n",
" end_day = '2020-04-11',\n",
- " beta = 0.010,\n",
+ " beta = 0.015,\n",
" rel_death_prob = 1.0,\n",
" interventions = cv.test_num(daily_tests='data'),\n",
" verbose = 0,\n",
"if __name__ == '__main__':\n",
"\n",
" # Run the calibration\n",
- " n_trials = 25\n",
+ " n_trials = 20\n",
" n_workers = 4\n",
" calib = sim.calibrate(calib_pars=calib_pars, n_trials=n_trials, n_workers=n_workers)"
]
