structure to store data of a node of CHAID. This can be used as a template type in TreeMachineNode class. CHAID algorithm uses nodes of type CTreeMachineNode<CHAIDTreeNodeData>
在文件 CHAIDTreeNodeData.h 第 44 行定义.
Public 成员函数 | |
CHAIDTreeNodeData () | |
静态 Public 成员函数 | |
static void | print_data (const CHAIDTreeNodeData &data) |
Public 属性 | |
int32_t | attribute_id |
SGVector< float64_t > | distinct_features |
SGVector< int32_t > | feature_class |
float64_t | node_label |
float64_t | total_weight |
float64_t | weight_minus_node |
constructor
在文件 CHAIDTreeNodeData.h 第 65 行定义.
|
static |
int32_t attribute_id |
classifying attribute
在文件 CHAIDTreeNodeData.h 第 47 行定义.
distinct feature values possible for attribute_id
在文件 CHAIDTreeNodeData.h 第 50 行定义.
SGVector<int32_t> feature_class |
class to which each distinct feature type is assigned
在文件 CHAIDTreeNodeData.h 第 53 行定义.
float64_t node_label |
label representative of data in node
在文件 CHAIDTreeNodeData.h 第 56 行定义.
float64_t total_weight |
total weight of training samples passing through this node
在文件 CHAIDTreeNodeData.h 第 59 行定义.
float64_t weight_minus_node |
total weight of misclassified samples in node
在文件 CHAIDTreeNodeData.h 第 62 行定义.