
上QQ阅读APP看书,第一时间看更新
Getting ready
We first load all the required packages with the following code:
# Load the required packages
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:
# Initialize H2O instance (single node)
localH2O = h2o.init(ip = "localhost", port = 54321, startH2O = TRUE,min_mem_size = "20G",nthreads = 8)