%ML.DR.Provider
Class %ML.DR.Provider Extends %ML.Provider
Implements the QuickML provider
Parameters
PROVIDERNAME
Parameter PROVIDERNAME As %String = "DR";
Provider name
SQLTYPE
Parameter SQLTYPE As %String [ Constraint = "resultset,query", Flags = ENUM ] = "query";
Properties
datarobot
Property datarobot As %Net.Remote.Object;
Java objects:
Methods
%GetDefaultSettings
ClassMethod %GetDefaultSettings(ByRef settings As %DynamicObject)
Adds the default settings for DR to the settings dynamic object
%OnInit
Method %OnInit() As %Status
Opens JavaGateway and creates the Java objects for H2O
%CreateModel
Method %CreateModel(modelName As %String, ByRef model As %ML.Model, ByRef params) As %Status
Create a ML model
%GetTrainStatement
Method %GetTrainStatement() As %SQL.Statement
Returns an instance of %SQL.Statement to be used for the training query
%BeginTraining
Method %BeginTraining(model As %ML.Model, data As %SQL.StatementResult, trainingrun As %ML.TrainingRun, ByRef name As %String = "", ByRef trainkey) As %Status
Train a DR model data argument is not used for IoC providers name is no longer used. trainingrun.name is already defined
%WaitForTraining
Method %WaitForTraining(ByRef trainkey, trainingrun As %ML.TrainingRun, ByRef trainedmodel As %ML.TrainedModel, timeoutMS As %Integer = -1) As %Status
Check for training complete