SHOGUN  6.1.3
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
id3TreeNodeData Struct Reference

Detailed Description

structure to store data of a node of id3 tree. This can be used as a template type in TreeMachineNode class. Ex: id3 algorithm uses nodes of type CTreeMachineNode<id3TreeNodeData>

Definition at line 44 of file ID3TreeNodeData.h.

Public Member Functions

 id3TreeNodeData ()

Static Public Member Functions

static void print_data (const id3TreeNodeData &data)

Public Attributes

int32_t attribute_id
float64_t transit_if_feature_value
float64_t class_label

Constructor & Destructor Documentation


Definition at line 56 of file ID3TreeNodeData.h.

Member Function Documentation

static void print_data ( const id3TreeNodeData data)

print data

datathe data to be printed

Definition at line 66 of file ID3TreeNodeData.h.

Member Data Documentation

int32_t attribute_id

classifying attribute

Definition at line 47 of file ID3TreeNodeData.h.

float64_t class_label

class label of data (-1 for internal nodes)

Definition at line 53 of file ID3TreeNodeData.h.

float64_t transit_if_feature_value

feature value required to move into this node

Definition at line 50 of file ID3TreeNodeData.h.

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

SHOGUN Machine Learning Toolbox - Documentation