Skip to main content

%DeepSee.PMML.Data

Class %DeepSee.PMML.Data Extends %SerialObject [ Abstract, System = 3 ]

Represents a single "record" of data for the models defined in a %DeepSee.PMML.Definition class. A subclass of this class is generated upon compiling a PMML definition, which can then be instantiated to run the predictive models against. See the %Execute method in %DeepSee.PMML.Model.AbstractModel for more details.

Properties

%Properties

Property %Properties [ Internal, MultiDimensional, Private ];

Methods

%SetPropertyStatus

Method %SetPropertyStatus(pProperty As %String, pStatus As %String(VALUELIST=",valid,invalid,missing,predicted")) As %Status [ Internal, Private ]

%GetPropertyValue

Method %GetPropertyValue(pProperty As %String) As %String [ Internal ]

%SetPropertyValue

Method %SetPropertyValue(pProperty As %String, pValue As %String) As %Status [ Internal ]

%GetPropertyStatus

Method %GetPropertyStatus(pProperty As %String) As %String

%IsMissing

Method %IsMissing(pProperty As %String) As %Boolean

%IsInvalid

Method %IsInvalid(pProperty As %String) As %Boolean

%CreateFromArray

ClassMethod %CreateFromArray(ByRef pArray, Output pSC As %Status = {$$$OK}) As %DeepSee.PMML.Data [ Final ]

Instantiates an object from this class based on the values in the supplied array.

%LoadData

Method %LoadData(ByRef pArray) As %Status [ Abstract, Internal ]

Loads the property values in the supplied array, overwriting existing values for those properties.

%CreateFromObject

ClassMethod %CreateFromObject(pObject, Output pSC As %Status = {$$$OK}) As %DeepSee.PMML.Data [ Final ]

Instantiates an object from this class based on the property values of the supplied object.

%LoadObject

Method %LoadObject(pObject) As %Status [ Abstract, Internal ]

Loads the property values from the supplied object, overwriting existing values for those properties.

%ResetDerivedFields

Method %ResetDerivedFields() As %Status [ Internal ]

%GetAsArray

Method %GetAsArray(Output pArray, Output pStatus, pSkipMissing As %Boolean = 1) As %Status [ Abstract, Internal ]

Loads all data fields into pArray, which ensures their *Get methods are invoked so their values are populated and status info is available.

%GetDerivedFields

Method %GetDerivedFields(ByRef pArray = "") As %Status [ Internal ]

Loads all derived fields into pArray, which ensures their *Get methods are invoked so their values are populated and status info is available.

%CreateFromDeepSee

ClassMethod %CreateFromDeepSee(pFactId As %Integer, Output pData As %DeepSee.PMML.Data, pDataSource As %String = "") As %Status

Instantiates an object from this class based on the dimension level and measure values of a DeepSee fact, using the mapping described in pDataSource

%GetDeepSeeSpec

ClassMethod %GetDeepSeeSpec(pPropertyName As %String, pDataSource As %String = "") As %String [ Internal ]

%CreateFromResultSet

ClassMethod %CreateFromResultSet(pResultSet As %SQL.StatementResult, Output pData As %DeepSee.PMML.Data, ByRef pFieldMap, pDataSource As %String = "") As %Status [ Internal ]

Instantiates an object of this class based on the current record of the supplied ResultSet object. If a pFieldMap is supplied, it takes precedence over the value of pDataSource for mapping the ResultSet's columns to data fields.

%GetResultSetColumn

ClassMethod %GetResultSetColumn(pPropertyName As %String, pDataSource As %String = "") As %String [ Internal ]

%CreateDataset

ClassMethod %CreateDataset(pDataSource As %String = "", Output pDataset As %DeepSee.PMML.Dataset) As %Status [ Internal ]