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

详细描述

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>

在文件 CHAIDTreeNodeData.h44 行定义.

Public 成员函数

 CHAIDTreeNodeData ()
 

静态 Public 成员函数

static void print_data (const CHAIDTreeNodeData &data)
 

Public 属性

int32_t attribute_id
 
SGVector< float64_tdistinct_features
 
SGVector< int32_t > feature_class
 
float64_t node_label
 
float64_t total_weight
 
float64_t weight_minus_node
 

构造及析构函数说明

constructor

在文件 CHAIDTreeNodeData.h65 行定义.

成员函数说明

static void print_data ( const CHAIDTreeNodeData data)
static

print data

参数
datathe data to be printed

在文件 CHAIDTreeNodeData.h78 行定义.

类成员变量说明

int32_t attribute_id

classifying attribute

在文件 CHAIDTreeNodeData.h47 行定义.

SGVector<float64_t> distinct_features

distinct feature values possible for attribute_id

在文件 CHAIDTreeNodeData.h50 行定义.

SGVector<int32_t> feature_class

class to which each distinct feature type is assigned

在文件 CHAIDTreeNodeData.h53 行定义.

float64_t node_label

label representative of data in node

在文件 CHAIDTreeNodeData.h56 行定义.

float64_t total_weight

total weight of training samples passing through this node

在文件 CHAIDTreeNodeData.h59 行定义.

float64_t weight_minus_node

total weight of misclassified samples in node

在文件 CHAIDTreeNodeData.h62 行定义.


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

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