Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %DeepSee.PMML.Definition.Util.Discretize
Private  Storage   

%DeepSee.PMML.Definition.Util.Discretize


class %DeepSee.PMML.Definition.Util.Discretize extends
AbstractExpression, %DeepSee.PMML.Definition.extendableNode

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
5 3


Summary


Properties
Bins Extension dataType defaultValue field
mapMissingTo

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetComputeCode %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateNames %ValidateObject %ValidatePMML XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Properties


• property Bins as list of DiscretizeBin(XMLNAME="DiscretizeBin",XMLPROJECTION="ELEMENT");
• property dataType as %DeepSee.PMML.Datatype.DataType(XMLPROJECTION="ATTRIBUTE");
• property defaultValue as %DeepSee.PMML.Datatype.String(XMLPROJECTION="ATTRIBUTE");
• property field as %DeepSee.PMML.Datatype.FieldName(XMLPROJECTION="ATTRIBUTE") [ Required ];
• property mapMissingTo as %DeepSee.PMML.Datatype.String(XMLPROJECTION="ATTRIBUTE");

Methods


• method %GetComputeCode(Output pInline As %Boolean = 0, pOverrideSource As %String = "", pThis As %String = ".", pArrayFormat As %Boolean = 0) as %String

Returns the COS code to compute this expression. Sets pInline to 1 if the returned string can simply be nested in an enclosing expression. If pInline = 0, the code returned is assumed to populate a variable tValue, with each line prepended with appropriate whitespace to allow simple compilation.

If the expression can evaluate to anything other than valid values, an additional variable tStatus should be populated with the appropriate status (which will likely result in pInline being 0)

If pOverrideSource is set, it should be used rather than the expected "input" for this expression (ie: ..field)

• method %ValidateNames(ByRef pDictionary) as %Status
An error occurred with the web application.

It has been logged to system error log (System Operation>System Logs>Application Error Log).