DM_setTreeNodeID

This method specifies that the node ID used for calculating the predicted class has to be written into the scoring result when you apply a Tree Classification model. This applies to an object of type DM_ClasResultSpec that can be given as the third parameter of the function DM_applyClasModel.
Note: This method is only valid for a Tree Classification model. Otherwise it is ignored.

Syntax

Method syntax
Read syntax diagramSkip visual syntax diagram
>>-resultSpec..DM_setTreeNodeID--(--)--------------------------><

Function syntax

Read syntax diagramSkip visual syntax diagram
>>-DM_setTreeNodeID--(--resultSpec--)--------------------------><

Parameters

resultSpec
An object of data type DM_ClasResultSpec used to specify the results value to be calculated by the function DM_applyClasModel

Return value

The return value is a value of data type DM_ClasResultSpec indicating that the node ID used for the prediction has to be written into the scoring result.
Note: If the model is not a Tree Classification model, this method has no effect. The node ID is not written into the scoring result.


Feedback | Information roadmap