IRISLIB database
Provider Class Reference

Base class for an ML provider. More...

Inheritance diagram for Provider:
Collaboration diagram for Provider:

Static Public Attributes

 DEFAULTPROVIDER = None
 Default provider name.
 
 PROVIDERNAME = None
 Provider name.
 
 SQLTYPE = None
 Type of SQL TRAIN will operate on Options are "resutset" or "query". More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Private Member Functions

_.Library.Status BeginTraining (_.ML.Model model, _.SQL.StatementResult data, _.ML.TrainingRun trainingrun, _.Library.String name, trainkey)
 Train an ML model.
 
_.Library.String GetName ()
 Returns the provider name (the class name by default)
 
_.SQL.Statement GetTrainStatement ()
 Returns an instance of SQL.Statement to be used for the training query.
 
_.Library.Status OnClose ()
 Make sure we clean up.
 
_.Library.Status OnExit ()
 Shutdown a provider.
 
_.Library.Status OnInit ()
 Initialize a provider.
 
_.Library.Status WaitForTraining (trainkey, _.ML.TrainingRun trainingrun, _.ML.TrainedModel trainedmodel, _.Library.Integer timeoutMS)
 Check for training complete.
 

Static Private Member Functions

_.Library.Status CreateProvider (_.Library.String name, _.ML.Provider provider)
 Factory method to create an instance of an ML provider by name.
 
 GetDefaultSettings (_.Library.DynamicObject settings)
 Adds the default settings for the provider to the settings dynamic object.
 
_.Library.Boolean GetProvider (_.Library.String name, _.Library.String class)
 Look up a provider proper name.
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Detailed Description

Base class for an ML provider.

Member Data Documentation

◆ SQLTYPE

SQLTYPE = None
static

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