structure to store data of a node of CART. This can be used as a template type in TreeMachineNode class. CART algorithm uses nodes of type CTreeMachineNode<CARTreeNodeData>
在文件 CARTreeNodeData.h 第 44 行定义.
Public 成员函数 | |
CARTreeNodeData () | |
静态 Public 成员函数 | |
static void | print_data (const CARTreeNodeData &data) |
Public 属性 | |
int32_t | attribute_id |
SGVector< float64_t > | transit_into_values |
float64_t | node_label |
float64_t | total_weight |
float64_t | weight_minus_node |
float64_t | weight_minus_branch |
int32_t | num_leaves |
CARTreeNodeData | ( | ) |
constructor
在文件 CARTreeNodeData.h 第 68 行定义.
|
static |
int32_t attribute_id |
classifying attribute
在文件 CARTreeNodeData.h 第 47 行定义.
float64_t node_label |
classification/regression label of data
在文件 CARTreeNodeData.h 第 53 行定义.
int32_t num_leaves |
number of leaves in the subtree beginning at this node
在文件 CARTreeNodeData.h 第 65 行定义.
float64_t total_weight |
total weight of training samples passing through this node
在文件 CARTreeNodeData.h 第 56 行定义.
feature value(s) required to move into this node
在文件 CARTreeNodeData.h 第 50 行定义.
float64_t weight_minus_branch |
total weight of misclassified samples in subtree/ weighted sum of squared deviation in case of regression
在文件 CARTreeNodeData.h 第 62 行定义.
float64_t weight_minus_node |
total weight of misclassified samples in node/ weighted sum of squared deviation in case of regression
在文件 CARTreeNodeData.h 第 59 行定义.