Getting ready

We first load and initialize the H2O package with the following code:

# Load the required packages
require(h2o)

# Initialize H2O instance (single node)
localH2O = h2o.init(ip = "localhost", port = 54321, startH2O = TRUE,min_mem_size = "20G",nthreads = 8)

The occupancy dataset is loaded, converted to hex format, and named occupancy_train.hex.