Skip to content
Snippets Groups Projects
Commit ea52a42b authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

dime.m: cosmetic changes

parent 53907ffb
No related branches found
No related tags found
1 merge request!2311SMC: Add support for generate_trace_plots.m
......@@ -85,7 +85,6 @@ function dime(TargetFun, init_x, mh_bounds, dataset_, dataset_info, options_, M_
t0 = tic;
[x, ~, lprob] = ...
smc_samplers_initialization(funobj, 'dime', nchain, Prior, SimulationFolder, opts.niter);
tt = toc(t0);
x = ptransform(x', bounds, true);
disp_verbose(sprintf('Estimation:dime: log-posterior standard deviation (post.std) of a multivariate normal would be %.2f.\n', sqrt(0.5*ndim)), options_.verbosity);
......@@ -164,7 +163,7 @@ function dime(TargetFun, init_x, mh_bounds, dataset_, dataset_info, options_, M_
% be informative
tt = toc(t0);
if iter == 1 | ~mod(iter,15)
if iter == 1 || ~mod(iter,15)
disp_verbose(' #iter. post.mode post.std %accept lapsed', options_.verbosity)
disp_verbose(' ------ --------- -------- ------- ------', options_.verbosity)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment