SHOGUN
4.2.0
|
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>
Definition at line 44 of file C45TreeNodeData.h.
Public Member Functions | |
C45TreeNodeData () | |
Static Public Member Functions | |
static void | print_data (const C45TreeNodeData &data) |
Public Attributes | |
int32_t | attribute_id |
float64_t | transit_if_feature_value |
float64_t | class_label |
float64_t | total_weight |
float64_t | weight_minus |
C45TreeNodeData | ( | ) |
constructor
Definition at line 62 of file C45TreeNodeData.h.
|
static |
int32_t attribute_id |
classifying attribute
Definition at line 47 of file C45TreeNodeData.h.
float64_t class_label |
class label of data (-1 for internal nodes)
Definition at line 53 of file C45TreeNodeData.h.
float64_t total_weight |
weight of all samples present in the node during training
Definition at line 56 of file C45TreeNodeData.h.
float64_t transit_if_feature_value |
feature value required to move into this node
Definition at line 50 of file C45TreeNodeData.h.
float64_t weight_minus |
weight of all samples present in the node during training not belonging to class_label class
Definition at line 59 of file C45TreeNodeData.h.