Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/monash-emu/AuTuMN
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-ragonnet committed Sep 20, 2023
2 parents bf485d5 + c31982c commit e900cfc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions user/dshipman/massivetest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
# Finally we combine these with our summer2 model in a BayesianCompartmentalModel (BCM)
from estival.model import BayesianCompartmentalModel

from estival.sampling import tools as esamp


def run_calibration():
start = time()
Expand Down Expand Up @@ -71,16 +73,16 @@ def run_calibration():
# See the PyMC docs for more details
idata = pm.sample(
step=[pm.DEMetropolis(variables)],
draws=10000,
draws=2000,
tune=0,
cores=8,
chains=8,
progressbar=False,
)

print(f"Writing {time()-start}", flush=True)
print(f"LLE {time()-start}", flush=True)

idata.to_netcdf("thing.nc")
lle = esamp.likelihood_extras_for_idata(idata, bcm)

print(f"Finished {time()-start}", flush=True)

Expand Down

0 comments on commit e900cfc

Please sign in to comment.