- R Deep Learning Cookbook
- Dr. PKS Prakash Achyutuni Sri Krishna Rao
- 68字
- 2025-02-17 11:08:08
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)