set_model | R Documentation |
This function maps the model type and learner type to the corresponding model function.
set_model(model_type, learner_type, model_params)
model_type |
The model type for policy learning. Options include |
learner_type |
The learner type for the chosen model. Options include |
model_params |
A list of additional parameters to pass to the model, which can be any parameter defined in the model reference package. Defaults to
For other learners (e.g., |
The instantiated model object or the corresponding model function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.