Save jscale to record structure before running MCMC
Useful in conjunction with mh_tune_jscale in cases where the posterior sampler crashestime-shift
parent
9c216dc06b
commit
9e5cb1422d
|
@ -226,6 +226,7 @@ if ~options_.load_mh_file && ~options_.mh_recover
|
|||
record.LastLineNumber = AnticipatedNumberOfLinesInTheLastFile;
|
||||
record.MCMCConcludedSuccessfully = 0;
|
||||
record.MCMC_sampler=options_.posterior_sampler_options.posterior_sampling_method;
|
||||
record.ProposalScaleVec=bayestopt_.jscale;
|
||||
fprintf('Ok!\n');
|
||||
id = write_mh_history_file(MetropolisFolder, ModelName, record);
|
||||
disp(['Estimation::mcmc: Details about the MCMC are available in ' BaseName '_mh_history_' num2str(id) '.mat'])
|
||||
|
|
Loading…
Reference in New Issue