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

详细描述

structure to store data of a node of CART. This can be used as a template type in TreeMachineNode class. CART algorithm uses nodes of type CTreeMachineNode<CARTreeNodeData>

在文件 CARTreeNodeData.h44 行定义.

Public 成员函数

 CARTreeNodeData ()
 

静态 Public 成员函数

static void print_data (const CARTreeNodeData &data)
 

Public 属性

int32_t attribute_id
 
SGVector< float64_ttransit_into_values
 
float64_t node_label
 
float64_t total_weight
 
float64_t weight_minus_node
 
float64_t weight_minus_branch
 
int32_t num_leaves
 

构造及析构函数说明

constructor

在文件 CARTreeNodeData.h68 行定义.

成员函数说明

static void print_data ( const CARTreeNodeData data)
static

print data

参数
datathe data to be printed

在文件 CARTreeNodeData.h82 行定义.

类成员变量说明

int32_t attribute_id

classifying attribute

在文件 CARTreeNodeData.h47 行定义.

float64_t node_label

classification/regression label of data

在文件 CARTreeNodeData.h53 行定义.

int32_t num_leaves

number of leaves in the subtree beginning at this node

在文件 CARTreeNodeData.h65 行定义.

float64_t total_weight

total weight of training samples passing through this node

在文件 CARTreeNodeData.h56 行定义.

SGVector<float64_t> transit_into_values

feature value(s) required to move into this node

在文件 CARTreeNodeData.h50 行定义.

float64_t weight_minus_branch

total weight of misclassified samples in subtree/ weighted sum of squared deviation in case of regression

在文件 CARTreeNodeData.h62 行定义.

float64_t weight_minus_node

total weight of misclassified samples in node/ weighted sum of squared deviation in case of regression

在文件 CARTreeNodeData.h59 行定义.


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

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