activate_model: Activate existing PMML model

Description Usage Arguments Value See Also Examples

View source: R/model_operations.R

Description

Activates an existing PMML model which was deployed to Zementis Server.

Usage

1
activate_model(model_name, ...)

Arguments

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 config.

Value

If the model name is not known to the server, an error. Otherwise a list with components:

See Also

upload_model, deactivate_model

Examples

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)

alex23lemm/zementisr documentation built on Jan. 9, 2020, 1:49 a.m.