tp_treeppl
execute TreePPL and return TreePPL output (string 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 character vector giving a model name.
- data_file_name
a character vector giving a data name.
- samples
a base::integer giving the number of samples (mcmc) or particules (smc).
- n_runs
a base::integer giving the number of run (mcmc)/sweap (smc).
Details
#'
model_file_name
: a character vector giving to tp_treeppl as
a model name. Use a tp_data_stored name if you have already
write your model with tp_treeppl.
data_file_name
: a character vector giving to tp_treeppl
a data name. Use a tp_data_stored name if you have already write
your data with tp_treeppl.
samples
: The number of samples (mcmc) / particules (smc) during inference.
n_runs
: The number of run (mcmc) / sweap (smc) used for the inference.