SHOGUN
4.2.0
|
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>
Definition at line 44 of file CHAIDTreeNodeData.h.
Public Member Functions | |
CHAIDTreeNodeData () | |
Static Public Member Functions | |
static void | print_data (const CHAIDTreeNodeData &data) |
Public Attributes | |
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
Definition at line 65 of file CHAIDTreeNodeData.h.
|
static |
int32_t attribute_id |
classifying attribute
Definition at line 47 of file CHAIDTreeNodeData.h.
distinct feature values possible for attribute_id
Definition at line 50 of file CHAIDTreeNodeData.h.
SGVector<int32_t> feature_class |
class to which each distinct feature type is assigned
Definition at line 53 of file CHAIDTreeNodeData.h.
float64_t node_label |
label representative of data in node
Definition at line 56 of file CHAIDTreeNodeData.h.
float64_t total_weight |
total weight of training samples passing through this node
Definition at line 59 of file CHAIDTreeNodeData.h.
float64_t weight_minus_node |
total weight of misclassified samples in node
Definition at line 62 of file CHAIDTreeNodeData.h.