tp_compile takes TreePPL model and create a sampler to be used by
tp_run().
Arguments
- model
One of tree options:
The full path of the model file that contains the TreePPL code, OR
A string with the name of a model supported by treepplr (see
tp_model_library()), ORA string containing the entire TreePPL code.
- method
Inference method to be used. See
tp_compile_methods()for all supported methods.- ...
See
tp_compile_options()for all supported arguments.