Compute MCMC used in section 5.3
1 2 3 4 5 6 7 8 9 10 11 12 | smi_sec_5_3_compute_mcmc(
out_dir,
eta_all = seq(0.1, 1, by = 0.1),
force_compute_mcmc = FALSE,
n_iter = 1e+05,
n_iter_sub = 100,
n_warmup = 10000,
n_thin = 3,
n_epoch_adapt = 5,
n_iter_adapt = 1000,
seed = 123
)
|
out_dir |
Directory where outputs are stored |
eta_all |
Levels of influence of the PO module |
force_compute_mcmc |
To avoid computation time, completed MCMC is not recomputed, unless force_compute_mcmc is True |
n_iter |
Number of iterations in the main chain |
n_iter_sub |
Number of iterations in the sub-chain for the two-stage MCMC |
n_warmup |
Number of iterations used for warm-up |
n_thin |
Number of iterations used for thinning |
n_epoch_adapt |
Number of epochs for adaptation of proposal distributions |
n_iter_adapt |
Number of iterations in each adaptation epoch |
seed |
Set random seed before MCMC starts for reproducibility |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.