Scenario |
Type |
Detail |
About |
Basic Path |
The algorithm is recursive, realized in DecTreeMethod.ClassifyRecursive. The first call is on the root node. One step is done in one actual node. It has several steps:
1. Into the actual node of the tree is written count value with the number of records in the node. 2. For each son of the node, the records that satisfies its SQL condition has marked as this subnode members, they gets a new number to the node column and the ClassifyRecursive is called on them. 3. If there is no son, the node is a leaf, the result class is written to the to the result column and this branch of algorihm is finished.
|
Split the data |
Basic Path |
In the inner node, the data is splitted according to the SQL conditions stored in the subnodes. |
Store a result class |
Basic Path |
In the leaf node, the class stored in actual DecisionTreeNode is written to the records in this node. |
|