Skip to main content

%DeepSee.PMML.ModelOutput

Class %DeepSee.PMML.ModelOutput Extends %SerialObject [ Abstract, System = 4 ]

Properties

%Trace

Property %Trace [ Internal, MultiDimensional ];

%AllClassProbs

Property %AllClassProbs [ Internal, MultiDimensional ];

Methods

%GetFields

ClassMethod %GetFields(Output pFields) As %Status [ Abstract ]

pArray(fieldName) = $lb(feature, targetFieldName, displayName)

%GetFeatureValue

Method %GetFeatureValue(pFeature As %String = "predictedValue", pTargetField As %String = "", Output pAllValues) As %String

Returns the feature value of predicted field pTargetField. If pTargetField is left blank, the feature value for the "last" field is returned (generally safe for models predicting a single field value). Note that pTargetField is the name of the field in the data class, not in this output class. pAllValues contains the feature values for all fields, indexed by field name

%GetTracingInfo

Method %GetTracingInfo(Output pTrace) As %Status

Returns tracing information (if available) about the contribution of the input values to the model's outcome. Format: pTrace(n) = $lb($lb(inputs), $lb(values), rank, [weight], [info])

%GetAllClassProbabilities

Method %GetAllClassProbabilities(Output pClassProbs) As %Status [ Internal ]