Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%ML] >  [H2O] >  [Provider]
Private  Storage   

class %ML.H2O.Provider extends %ML.Provider

Implements the QuickML provider

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 1 7


Summary

Properties
h2o

Methods
%AddToSaveSet %BeginTraining %ClassIsLatestVersion %ClassName
%ConstructClone %CreateModel %CreateProvider %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetDefaultSettings
%GetName %GetParameter %GetProvider %GetTrainStatement
%IsA %IsModified %New %NormalizeObject
%ObjectModified %OnClose %OnExit %OnInit
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %ValidateObject %WaitForTraining getModel


Parameters

• parameter PROVIDERNAME = "H2O";
Provider name
• parameter SQLTYPE = "query";
Type of SQL TRAIN will operate on Options are "resutset" or "query" If the provider uses resultset, %Train is called with a resultset object for the query If the provider uses query, %TrainQyert is called with the SQL query text

Properties

• property h2o as %Net.Remote.Object;
Java objects: h2o: The Main class with QuickML Specific functions dataframe: sql and row data converted to H2O Dataframe objects

Methods

• method %BeginTraining(model As %ML.Model, data As %SQL.StatementResult, trainingrun As %ML.TrainingRun, ByRef name As %String = "", ByRef trainkey) as %Status
Train an H2O model data argument is not used for IoC providers name is no longer used. trainingrun.name is already defined
• method %CreateModel(modelName As %String, ByRef model As %ML.Model, ByRef params) as %Status
Create a ML model
• classmethod %GetDefaultSettings(ByRef settings As %DynamicObject)
Adds the default settings for H2O to the settings dynamic object
• method %GetTrainStatement() as %SQL.Statement
Returns an instance of %SQL.Statement to be used for the training query
• method %OnInit() as %Status
Opens JavaGateway and creates the Java objects for H2O
• method %WaitForTraining(ByRef trainkey, trainingrun As %ML.TrainingRun, ByRef trainedmodel As %ML.TrainedModel, timeoutMS As %Integer = -1) as %Status
Check for training complete
• classmethod getModel(modelId As %String) as %Stream.GlobalBinary [ SQLProc = ]


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.