Table of contents

H2O Flow add-on

If you install the H2O Flow add-on, you and your team can use an H20 Flow session within Data Science Experience to create documents and work with models.

Install the H2O Flow add-on

Recommendation: To avoid being repeatedly prompted for your password during the installation, set up your SSH keys across all of the nodes for your user:

# Generate and encrypt the key first.
$ ssh-keygen 

# Copy ssh key to remote ip (do this for each node on the cluster)
ssh-copy-id *node-ip*

#If you used a non-standard path or want to use a specific ssh key instead:
ssh -i *location-of-ssh-key* *node-ip*

To install the H2O Flow add-on into DSX Local:

  1. Sign in as root to the first master node of the DSX Local cluster as a user who is a member of the docker group for all nodes of the cluster.

  2. On the first master node, ensure you have read/write/execute privileges to the /wdp/k8s directory.

  3. In the /wdp/k8s directory, download the H20 Flow installation package h2o-flow.tar and extract the contents of it: tar xvf h2o-flow.tar.

  4. In the add-on_package/add-on directory, run installer.sh.

Open and use an H2O Flow session

To open an H2O Flow session from within DSX Local:

  1. Open a project in the DSX Local client.

  2. If your data is not already part of the project, add a data set to the data assets for the project.

  3. Open an H2O Flow session.

    • If you don't have an H2O Flow document created yet, follow the steps to create a notebook and specify H2O Flow as the tool.
      Shows H2O Flow tool selected
    • If you have an H2O Flow document created already, open it from the list of notebooks on the Assets page.

      The H2O Flow interface opens. The H2O Flow document you created or clicked on does not show in the main window.

      Shows the H2O Flow session when it opens

  4. In the right panel of the H2O Flow interface, open the FLOWS tab and select the document you want to work with.

    Shows the H2O Flow FLOWS tab

  5. To add data, follow these steps:

    1. Click the Find data icon (Shows an icon) and in the palette that opens, click Insert to code > Import H2O Frame for the data set you want to add. You will not see your data yet in the H2O Flow document yet.

      Shows adding a data frame from the side palette

    2. In the H2O Flow interface, click Data > List All Frames to see the data set that you added.

      Shows the H2O Flow Data > List All Frames menu and result

  6. Use the H2O Flow interface to work on your documents and models. Models that you create will not show in your DSX project, but you can work with them in the H2O Flow interface. See the H2O Flow documentation for more information.