tp_treeppl
executes TreePPL and returns the inference output in JSON format.
Usage
tp_run(
model_file_name = "tmp_model_file",
data_file_name = "tmp_data_file",
samples = 1000,
n_runs = "1"
)
Arguments
- model_file_name
a string giving a name to the temporary model file.
- data_file_name
a string giving a name to the temporary data file.
- samples
a base::integer giving the number of samples (MCMC) / particles (SMC).
- n_runs
a base::integer giving the number of runs (MCMC) / sweeps (SMC).