33 #ifndef MYCARTREENODEDATA_H__
34 #define MYCARTREENODEDATA_H__
36 #include <shogun/lib/config.h>
38 #include <shogun/multiclass/tree/TreeMachine.h>
39 #include <shogun/features/DenseFeatures.h>
40 #include <shogun/mathematics/Math.h>
41 #include <shogun/mathematics/eigen3.h>
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