Learn R Programming

h2o (version 3.40.0.4)

h2o.generic: Imports a generic model into H2O. Such model can be used then used for scoring and obtaining additional information about the model. The imported model has to be supported by H2O.

Description

Imports a generic model into H2O. Such model can be used then used for scoring and obtaining additional information about the model. The imported model has to be supported by H2O.

Usage

h2o.generic(model_id = NULL, model_key = NULL, path = NULL)

Arguments

model_id

Destination id for this model; auto-generated if not specified.

model_key

Key to the self-contained model archive already uploaded to H2O.

path

Path to file with self-contained model archive.

Examples

Run this code
if (FALSE) {
# library(h2o)
# h2o.init()

# generic_model <- h2o.genericModel(path="/path/to/model.zip", model_id="my_model")
# predictions <- h2o.predict(generic_model, dataset)
}

Run the code above in your browser using DataLab