h2o.upload_model {h2o} | R Documentation |
Upload a binary model from the provided local path to the H2O cluster. (H2O model can be saved in a binary form either by saveModel() or by download_model() function.)
Description
Upload a binary model from the provided local path to the H2O cluster. (H2O model can be saved in a binary form either by saveModel() or by download_model() function.)
Usage
h2o.upload_model(path)
Arguments
path |
A path on the machine this python session is currently connected to, specifying the location of the model to upload. |
Value
Returns a new H2OModel object.
See Also
h2o.saveModel
, h2o.download_model
Examples
## Not run:
# library(h2o)
# h2o.init()
# prostate_path = system.file("extdata", "prostate.csv", package = "h2o")
# prostate = h2o.importFile(path = prostate_path)
# prostate_glm = h2o.glm(y = "CAPSULE", x = c("AGE","RACE","PSA","DCAPS"),
# training_frame = prostate, family = "binomial", alpha = 0.5)
# glmmodel_path = h2o.download_model(prostate_glm, dir = "/Users/UserName/Desktop")
# glmmodel_load = h2o.upload_model(glmmodel_path)
## End(Not run)
[Package h2o version 3.44.0.3 Index]