hanaml.ModelStorage {hana.ml.r}R Documentation

ModelStorage

Description

PAL model management tool. ModelStorage includes methods for saving and versioning model from trained PAL model on HANA.

Usage

hanaml.ModelStorage(conn.context, schema = NULL, meta.tbl = NULL)

Arguments

conn.context

ConnectionContext
The connection to the SAP HANA system.

schema

characte, optional
The schema to persist models.

meta.tbl

character, optional
The table to store meta data.
Defaults to table "HANAML_R_API_MODEL_STORAGE_META_TBL".

Format

R6Class object.

Value

Object of R6Class with methods for ModelStorage

Methods

SaveModel()

Save PAL models.

Usage: model.storage$SaveModel(model = model, name = 'RDT', version = 1) Arguments:

ListModels()

Returns a DataFrame for the meta data of the saved models.

Usage: model.storage$ListModels()

Arguments:

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:

LoadModel()

Load model defined in the model storage.

Usage: model.storage$LoadModel('RDT', 1)

Arguments:

Returns: DataFrame Object of R6Class with methods for PAL functions.


[Package hana.ml.r version 1.0.8 Index]