| hanaml.ModelStorage {hana.ml.r} | R Documentation |
PAL model management tool. ModelStorage includes methods for saving and versioning model from trained PAL model on HANA.
hanaml.ModelStorage(conn.context, schema = NULL, meta.tbl = NULL)
conn.context |
|
schema |
|
meta.tbl |
|
R6Class object.
Object of R6Class with methods for ModelStorage
SaveModel()Save PAL models.
Usage:
model.storage$SaveModel(model = model, name = 'RDT', version = 1)
Arguments:
model: hanaml function object with fitted model.
name: The model's name.
version: The model's version.
force: If TRUE, the existed model will be replaced.
ListModels()Returns a DataFrame for the meta data of the saved models.
Usage:
model.storage$ListModels()
Arguments:
name: The model's name.
Returns:
DataFrame
Dataframe for the meta data of the saved models.
DeleteModel()Delete models defined in the model storage.
Usage:
model.storage$DeleteModel('RDT', 1)
Arguments:
name: The model's name.
version: The model's version.
LoadModel()Load model defined in the model storage.
Usage:
model.storage$LoadModel('RDT', 1)
Arguments:
name: The model's name.
version: The model's version.
Returns:
DataFrame
Object of R6Class with methods for PAL functions.