deactivate_model: Deactivate existing PMML model

Description Usage Arguments Value See Also Examples

View source: R/model_operations.R

Description

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

Usage

1
deactivate_model(model_name, ...)

Arguments

model_name

The name of the PMML model that is deactivated 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, activate_model

Examples

1
2
3
4
5
6
7
## Not run: 
  deactivate_model("iris_model")

  #Deactivate all models on the server
  get_models() %>% purrr::map_df(deactivate_model)

## End(Not run)

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