Last chance! 50% off unlimited learning
Sale ends in
Load a saved H2O model from disk.
h2o.loadModel(path)
The path of the H2O Model to be imported. and port of the server running H2O.
Returns a object of the class corresponding to the type of model built.
# library(h2o)
# h2o.init()
# prosPath = system.file("extdata", "prostate.csv", package = "h2o")
# prostate.hex = h2o.importFile(path = prosPath, destination_frame = "prostate.hex")
# prostate.glm = h2o.glm(y = "CAPSULE", x = c("AGE","RACE","PSA","DCAPS"),
# training_frame = prostate.hex, family = "binomial", alpha = 0.5)
# glmmodel.path = h2o.saveModel(prostate.glm, dir = "/Users/UserName/Desktop")
# glmmodel.load = h2o.loadModel(glmmodel.path)
Run the code above in your browser using DataLab