Tutorial 1B: Model deployment in the H2O Hydrogen Torch UI
Overview
This tutorial explores one of the options available to deploy a built model. In particular, this tutorial explores how to deploy a built model in the H2O Hydrogen Torch UI. This tutorial also explores downloading the generated predictions and how you can view the downloaded predictions using Python. At a high level, we first create a model that you will later deploy to score on new data.
Objectives
- Learn how to deploy a built model in the H2O Hydrogen Torch UI, including exploring the available settings to score new data on the UI and downloading the generated predictions.
- Understand how to view the downloaded predictions using Python, specifically by utilizing Pandas and Pickle libraries to read and display the prediction data.
Prerequisites
- Access to H2O Hydrogen Torch v1.4.0
- Basic understanding of Python
- Complete Tutorial 1A: Default hyperparameter values
Step 1: Import dataset
For this tutorial, let's utilize the demo out-of-the-box preprocessed coins_image_regression.zip dataset. The dataset contains a collection of 6,028 images with one or more coins. Each image has been labeled to indicate the sum of its coins. The currency of the coins is the Brazilian Real (R$). Let's import the dataset:
- In the H2O Hydrogen Torch navigation menu, click Import dataset.
- In the File name list, select coins_image_regression.zip.
- Click Continue.
- Click Continue.
- Click Continue.
Step 2: Build model
Let's quickly build an image regression model capable of predicting the sum of Brazilian Real (R$) coins in images. After creating the model, we will utilize the H2O Hydrogen Torch UI to generate predictions (deploy the model).
- In the H2O Hydrogen Torch navigation menu, click Create experiment.
- In the Dataset list, select coins_image_regression.
- In the Experiment name box, enter
tutorial-1b
. - Click Run experiment.