SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | Public 成员函数 | 静态 Public 成员函数 | Public 属性
C45TreeNodeData结构体 参考

详细描述

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>

在文件 C45TreeNodeData.h44 行定义.

Public 成员函数

 C45TreeNodeData ()
 

静态 Public 成员函数

static void print_data (const C45TreeNodeData &data)
 

Public 属性

int32_t attribute_id
 
float64_t transit_if_feature_value
 
float64_t class_label
 
float64_t total_weight
 
float64_t weight_minus
 

构造及析构函数说明

constructor

在文件 C45TreeNodeData.h62 行定义.

成员函数说明

static void print_data ( const C45TreeNodeData data)
static

print data

参数
datathe data to be printed

在文件 C45TreeNodeData.h74 行定义.

类成员变量说明

int32_t attribute_id

classifying attribute

在文件 C45TreeNodeData.h47 行定义.

float64_t class_label

class label of data (-1 for internal nodes)

在文件 C45TreeNodeData.h53 行定义.

float64_t total_weight

weight of all samples present in the node during training

在文件 C45TreeNodeData.h56 行定义.

float64_t transit_if_feature_value

feature value required to move into this node

在文件 C45TreeNodeData.h50 行定义.

float64_t weight_minus

weight of all samples present in the node during training not belonging to class_label class

在文件 C45TreeNodeData.h59 行定义.


该结构体的文档由以下文件生成:

SHOGUN 机器学习工具包 - 项目文档