From ca6248785c16a6854133111891e3f600987c3767 Mon Sep 17 00:00:00 2001 From: kohlhaasrebecca <rebecca.kohlhaas@outlook.com> Date: Wed, 24 Jul 2024 14:24:46 +0200 Subject: [PATCH] [docs] Shorten BMC in user_guide Reduced the number of samples, walkers, etc for BMC for this example, so that the pipeline can run without exceeding the time limit --- examples/user_guide/example_user_guide.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/examples/user_guide/example_user_guide.py b/examples/user_guide/example_user_guide.py index ae1371371..20e2bdb27 100644 --- a/examples/user_guide/example_user_guide.py +++ b/examples/user_guide/example_user_guide.py @@ -131,7 +131,7 @@ if __name__ == '__main__': BayesObj.inference_method = 'MCMC' import emcee BayesObj.mcmc_params = { - 'n_steps': 1e4, + 'n_steps': 100, #e4, 'n_walkers': 30, 'moves': emcee.moves.KDEMove(), 'multiprocessing': False, @@ -194,10 +194,17 @@ if __name__ == '__main__': opts_bootstrap = { "bootstrap": True, - "n_samples": 100, + "n_samples": 10, #0, "Discrepancy": DiscrepancyOpts, "emulator": True, - "plot_post_pred": False + "plot_post_pred": False, + "mcmc_params": { + 'n_steps': 100, #e4, + 'n_walkers': 10, + 'moves': emcee.moves.KDEMove(), + 'multiprocessing': False, + 'verbose': False + } } output_dict = BayesOpts.model_comparison_all( -- GitLab