powered by
Returns a reference to an existing model in the H2O instance.
h2o.getModel(model_id)
A string indicating the unique model_id of the model to retrieve.
Returns an object that is a subclass of .
library(h2o) h2o.init() iris.hex <- as.h2o(iris, "iris.hex") model_id <- h2o.gbm(x = 1:4, y = 5, training_frame = iris.hex)@model_id model.retrieved <- h2o.getModel(model_id)
Run the code above in your browser using DataLab