- R Deep Learning Cookbook
- Dr. PKS Prakash Achyutuni Sri Krishna Rao
- 98字
- 2025-02-17 11:08:07
Getting ready
The previous chapter provided the details for the installation of H2O in R along with a working example using its web interface. To start modeling, load the h20 package in the R environment:
require(h2o)
Then, initialize a single-node H2O instance using the h2o.init() function on eight cores and instantiate the corresponding client module on the IP address localhost and port number 54321:
localH2O = h2o.init(ip = "localhost", port = 54321, startH2O = TRUE,min_mem_size = "20G",nthreads = 8)
The H2O package has dependency on the Java JRE. Thus, it should be pre-installed before executing the initialization command.