%DeepSee.PMML.Builder.Tree
Class %DeepSee.PMML.Builder.Tree Extends %DeepSee.PMML.Builder.AbstractBuilder [ System = 4 ]
Parameters
MODELCLASSNAME
Parameter MODELCLASSNAME = "%DeepSee.PMML.Definition.Models.TreeModel";
Properties
CustomTree
Property CustomTree [ MultiDimensional ];
MaxTreeDepth
Property MaxTreeDepth As %Integer [ InitialExpression = 3 ];
ScoringMetric
Property ScoringMetric As %String(VALUELIST = ",Confidence,GiniImpurity,InformationGain") [ InitialExpression = "GiniImpurity" ];
MissingValueStrategy
Property MissingValueStrategy As %String(VALUELIST = ",none,lastPrediction,nullPrediction,defaultChild,weightedConfidence,aggregateNodes") [ InitialExpression = "none" ];
MissingValuePenalty
Property MissingValuePenalty As %Double [ InitialExpression = 1.0 ];
NoTrueChildStrategy
Property NoTrueChildStrategy As %String(VALUELIST = ",returnNullPrediction,returnLastPrediction") [ InitialExpression = "returnNullPrediction" ];
Methods
BuildModel
Method BuildModel(ByRef pModel As %DeepSee.PMML.Definition.Models.AbstractModel) As %Status [ Private ]
CreateNodeElement
Method CreateNodeElement(ByRef pTree, pNodeId As %Integer, Output pNodeElement As %DeepSee.PMML.Definition.Models.Trees.TreeNode) As %Status [ Private ]
CreatePredicateElement
Method CreatePredicateElement(ByRef pCondition, Output pPredicate As %DeepSee.PMML.Definition.Util.Predicate) As %Status [ Private ]