53 SG_SPRINT(
"classifying feature index=%d\n", data.
attribute_id);
59 SG_SPRINT(
"IG of node=%f\n",data.
IG);
60 SG_SPRINT(
"number of leaves in subtree=%d\n", data.
num_leaves);
structure to store data of a node of CART. This can be used as a template type in TreeMachineNode cla...
SGVector< float64_t > transit_into_values
float64_t weight_minus_node
float64_t IG
WGL: IG is the Impurity Gain of this node: IG(n) = impurity(n) - impurity(l) - impurity(r)
static void print_data(const MyCARTreeNodeData &data)
float64_t weight_minus_branch