Downloading and installing H2O-3 Secure
To download H2O-3 Secure, contact enterprise@h2o.ai for the download link. The overview describes what H2O-3 Secure adds.
Choose your desired method of use below. Most users will want to use H2O-3 Secure from either R or Python.
Prerequisites
Before you install, make sure you meet the requirements to download and use H2O-3 Secure. You need Java to start H2O-3 Secure, even from the R or Python packages.
Install in R
Perform the following steps in R to install H2O-3 Secure. Copy and paste these commands one line at a time.
By default, this setup is open. Follow security guidelines if you want to secure your installation.
- The following two commands remove any previously installed H2O-3 Secure packages for R.
if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) }if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }
- Next, install the packages that H2O-3 Secure depends on.
pkgs <- c("RCurl","jsonlite")for (pkg in pkgs) {if (! (pkg %in% rownames(installed.packages()))) { install.packages(pkg) }}
-
Contact enterprise@h2o.ai for the download link, then install the H2O-3 Secure package for R.
-
Optionally initialize H2O-3 Secure and run a demo to see H2O-3 Secure at work.
library(h2o)localH2O = h2o.init()demo(h2o.kmeans)
Install in Python
By default, this setup is open. Follow security guidelines if you want to secure your installation.
Run the following commands in a Terminal window to install H2O-3 Secure for Python.
- Install dependencies (prepending with
sudoif needed):
pip install requestspip install tabulatepip install future# Required for plotting:pip install matplotlib
These are the dependencies required to run H2O-3 Secure. matplotlib is optional and only required to plot in H2O-3 Secure. See our complete list of dependencies.
- Run the following command to remove any existing H2O-3 Secure module for Python.
pip uninstall h2o
-
Contact enterprise@h2o.ai for the download link, then use
pipto install the H2O-3 Secure Python module. -
Optionally initialize H2O-3 Secure in Python and run a demo to see H2O-3 Secure at work.
import h2oh2o.init()h2o.demo("glm")
Install on Anaconda Cloud
To run H2O-3 Secure in an Anaconda Cloud environment, contact enterprise@h2o.ai for the download link.
After H2O-3 Secure is installed, see the Starting H2O-3 Secure from Anaconda section for information on how to start H2O-3 Secure and to view a GBM example run in Jupyter Notebook.
Install on Hadoop
-
To download H2O-3 Secure for your version of Hadoop, contact enterprise@h2o.ai for the download link. This is a ZIP file that contains everything you need to get started.
-
Unpack the ZIP file and launch a 6g instance of H2O-3 Secure. For example:
unzip h2o-<version>-*.zipcd h2o-<version>-*hadoop jar h2odriver.jar -nodes 1 -mapperXmx 6g -
Note the H2O-3 Secure node address in the driver output. For example:
Determining driver host interface for mapper->driver callback...[Possible callback IP address: 172.16.2.181][Possible callback IP address: 127.0.0.1]...Waiting for H2O cluster to come up...H2O node 172.16.2.188:54321 is joining the clusterSending flatfiles to nodes...[Sending flatfile to node 172.16.2.188:54321]H2O node 172.16.2.188:54321 reports H2O cluster size 1 [leader is 172.16.2.188:54321]H2O cluster (1 nodes) is up(Note: Use the -disown option to exit the driver after cluster formation)(Press Ctrl-C to kill the cluster)Blocking until the H2O cluster shuts down...
- Submit and view feedback for this page
- Send feedback about H2O-3 Secure to cloud-feedback@h2o.ai