November 2018
Beginner to intermediate
420 pages
10h 4m
English
The package h2o comes from the H2O.ai company. With it, you can train several machine learning models, including feedforward neural networks. Although the commands will be passed through the R console, the heavy lift will be done using Java— the h2o package for R is actually an interface.
That said, having Java installed is a requirement. If you are sure about having Java installed, make sure the h2o package is installed too:
install.packages('h2o')
Now we need to load the h2o library and initiate the package:
library(h20)h2o.init(nthreads=-1, max_mem_size='2G')
The h2o.init() function will initialize and connect to h2O. The nthreads=-1 argument will demand all available CPUs' cores to ...
Read now
Unlock full access