class %ML.DR.Provider extends %ML.Provider

Implements the QuickML provider

Property Inventory

Method Inventory


parameter PROVIDERNAME = DR;
Provider name
parameter SQLTYPE = query;
Inherited description: 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


property datarobot as %Net.Remote.Object;
Java objects:
Property methods: datarobotGet(), datarobotGetSwizzled(), datarobotIsValid(), datarobotNewObject(), datarobotSet()


method %BeginTraining(model As %ML.Model, data As %SQL.StatementResult, trainingrun As %ML.TrainingRun, ByRef name As %String = "", ByRef trainkey) as %Status [ Language = objectscript ]
Train a DR 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 [ Language = objectscript ]
Create a ML model
classmethod %GetDefaultSettings(ByRef settings As %DynamicObject) [ Language = objectscript ]
Adds the default settings for DR to the settings dynamic object
method %GetTrainStatement() as %SQL.Statement [ Language = objectscript ]
Returns an instance of %SQL.Statement to be used for the training query
method %OnInit() as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
Check for training complete

Inherited Members

Inherited Methods