SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
C45TreeNodeData Struct Reference

Detailed Description

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

Constructor & Destructor Documentation

constructor

Definition at line 62 of file C45TreeNodeData.h.

Member Function Documentation

static void print_data ( const C45TreeNodeData data)
static

print data

Parameters
datathe data to be printed

Definition at line 74 of file C45TreeNodeData.h.

Member Data Documentation

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.


The documentation for this struct was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation