Skip to main content Link Search Menu Expand Document (external link)

Procedure 3: Creating a Logistic Regression model in H2O (GLM)

With the data loaded, a model now needs to be trained. Navigate to Models to see the available algorithms:

Models

img.png

In this case, the algorithm is Generalised Linear Modelling (this is Logistic Regression). Click this model to create the cell in flow:

img_1.png

There are a multitude of parameters that are quite outside the scope of this document, for the purposes of this document, simply specify the Training and Validation Hex sets:

img_2.png

Thereafter, specify the dependent variable, known as the Response Column in H2O:

img_3.png

In this case the Dependent Variable is titled as the same:

img_4.png

Scroll to the base of the cell and click Build Model to initiate the training process:

img_5.png

The training process will begin with progress being written out to a newly created job cell:

img_6.png

At this stage a Logistic Regression model has been created. It is a good idea to save the flow by navigating:

Flow >>> Save Flow

img_7.png


Jube™. © Jube Holdings Limited 2022 to present.