IRISLIB database
AbstractModel Class Reference

This class represents a PMML model as defined in the PMML XData block of a <class>DeepSee.PMML.Definition</class> class. More...

Inheritance diagram for AbstractModel:
Collaboration diagram for AbstractModel:

Public Member Functions

_.Library.Status ExecuteModelInternal (_.DeepSee.PMML.ModelInput pInput, _.DeepSee.PMML.ModelOutput pOutput)
 To be implemented by subclasses.
 
- 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 OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. 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...
 

Public Attributes

 Tracing
 Whether or not to generate trace information in the output object. More...
 

Static Public Attributes

 DATACLASS = None
 The name of the root <class>DeepSee.PMML.Data</class> class for this model's PMML definition.
 
 INPUTCLASS = None
 The name of the <class>DeepSee.PMML.ModelInput</class> class for this model.
 
 MODELNAME = None
 The name of this model as defined in the PMML definition.
 
 OUTPUTCLASS = None
 The name of the <class>DeepSee.PMML.ModelOutput</class> class for this model.
 
 PREDICTEDFIELD = None
 The field in <parameter>DATACLASS</parameter> predicted by this model.
 
- 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 ExecuteModel (_.DeepSee.PMML.Data pData, _.DeepSee.PMML.ModelOutput pOutput)
 
_.Library.Status ExecuteModelDeepSee (_.Library.Integer pFactId, _.DeepSee.PMML.ModelOutput pOutput, _.Library.String pDataSource)
 This method runs the model against a fact from the DeepSee fact table of a cube for which. More...
 

Static Private Member Functions

_.DeepSee.PMML.ModelInput GetInputObject (_.DeepSee.PMML.Data pData)
 Builds a <class>DeepSee.PMML.ModelInput</class> object based on the root <class>DeepSee.PMML.Data</class> More...
 
_.Library.String GetName ()
 Returns the name of this model (similar to <parameter>MODELNAME</parameter>)
 
_.Library.Status GetPredictedFieldInfo (_.Library.String pFieldName, _.Library.String pDataType, _.Library.String pOpType)
 Returns basic info about the data field predicted by this model.
 

Detailed Description

This class represents a PMML model as defined in the PMML XData block of a <class>DeepSee.PMML.Definition</class> class.

Member Function Documentation

◆ ExecuteModel()

_.Library.Status ExecuteModel ( _.DeepSee.PMML.Data  pData,
_.DeepSee.PMML.ModelOutput  pOutput 
)
private

Executes this model for a given <class>DeepSee.PMML.Data</class> data object.

As an alternative to providing the actual Data Class (or model input class) for this model, it is also possible to supply a simple array containing the data field values indexed by field name.

See also <class>DeepSee.PMML.Utils</class> for details about running a model against a whole set of records at once, writing the corresponding results to a table.

◆ ExecuteModelDeepSee()

_.Library.Status ExecuteModelDeepSee ( _.Library.Integer  pFactId,
_.DeepSee.PMML.ModelOutput  pOutput,
_.Library.String  pDataSource 
)
private

This method runs the model against a fact from the DeepSee fact table of a cube for which.

an <X-DeepSeeDataSource> element defines a mapping from the cube's measures and dimensions to the Data Fields in the PMML definition. If pDataSource is null, the first DataSource of the model definition is expected to contain this DeepSee-to-PMML mapping.

◆ GetInputObject()

_.DeepSee.PMML.ModelInput GetInputObject ( _.DeepSee.PMML.Data  pData)
staticprivate

Builds a <class>DeepSee.PMML.ModelInput</class> object based on the root <class>DeepSee.PMML.Data</class>

for this PMML definition.

Member Data Documentation

◆ Tracing

Tracing

Whether or not to generate trace information in the output object.