hanaml.ModelStorage.RdA model management tool. hanaml.ModelStorage includes methods for saving and versioning the model from trained PAL model on SAP HANA.
hanaml.ModelStorage(conn.context, schema = NULL, meta.tbl = NULL)
| conn.context |
|
|---|---|
| schema |
|
| meta.tbl |
|
An object of R6Class with methods for hanaml.ModelStorage.
SaveModel(model, name, version, force = FALSE)Save a PAL model in the SAP HANA.
Usage:
model.storage$SaveModel(model = model, name = "RDT", version = 1)
Arguments:
model: A hanaml function object with fitted model.
name: The model's name.
version: The model's version.
force, optional: If TRUE, the existing model will be replaced by the latest model.
Defaults to be FALSE.
ListModels(name = NULL)Returns a DataFrame of the meta data of the saved models.
Usage:
model.storage$ListModels()
Arguments:
name, optional: The model's name. Defaults to NULL.
DataFrame
A Dataframe of the meta data of the saved models.DeleteModel(name, version)Delete the model defined in the model storage.
Usage:
model.storage$DeleteModel("RDT", 1)
Arguments:
name: The model's name.
version: The model's version.
LoadModel(name, version)Load a model defined in the model storage.
Usage:
model.storage$LoadModel("RDT", 1)
Arguments:
name: The model's name.
version: The model's version.
DataFrame
An object of R6Class with methods for PAL functions.