structure to store data of a node of C4.5 tree. This can be used as a template type in TreeMachineNode class. Ex: C4.5 algorithm uses nodes of type CTreeMachineNode<C45TreeNodeData>
在文件 C45TreeNodeData.h 第 44 行定义.
Public 成员函数 | |
C45TreeNodeData () | |
静态 Public 成员函数 | |
static void | print_data (const C45TreeNodeData &data) |
Public 属性 | |
int32_t | attribute_id |
float64_t | transit_if_feature_value |
float64_t | class_label |
float64_t | total_weight |
float64_t | weight_minus |
C45TreeNodeData | ( | ) |
constructor
在文件 C45TreeNodeData.h 第 62 行定义.
|
static |
int32_t attribute_id |
classifying attribute
在文件 C45TreeNodeData.h 第 47 行定义.
float64_t class_label |
class label of data (-1 for internal nodes)
在文件 C45TreeNodeData.h 第 53 行定义.
float64_t total_weight |
weight of all samples present in the node during training
在文件 C45TreeNodeData.h 第 56 行定义.
float64_t transit_if_feature_value |
feature value required to move into this node
在文件 C45TreeNodeData.h 第 50 行定义.
float64_t weight_minus |
weight of all samples present in the node during training not belonging to class_label class
在文件 C45TreeNodeData.h 第 59 行定义.