## Not run:
# # 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)
# ## End(Not run)
Run the code above in your browser using DataLab