Description Usage Arguments Value See Also Examples
View source: R/model_operations.R
Activates an existing PMML model which was deployed to Zementis Server.
1 | activate_model(model_name, ...)
|
model_name |
The name of the PMML model that is activated on Zementis server. |
... |
Additional arguments passed on to the underlying HTTP method.
This might be necessary if you need to set some curl options explicitly
via |
If the model name is not known to the server, an error. Otherwise a list with components:
model_name
The model_name
of the activated model
is_active
A logical indicating the activation status of the model
upload_model
, deactivate_model
1 2 3 4 5 6 7 | ## Not run:
activate_model("iris_model")
#Activate all models on the server
get_models() %>% purrr::map_df(activate_model)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.