xgboost
公有成员函数 | 公有属性 | 所有成员列表
xgboost::RTreeNodeStat 结构体参考

回归树中使用的节点统计信息 更多...

#include <tree_model.h>

xgboost::RTreeNodeStat 协作图
Collaboration graph

公有成员函数

 RTreeNodeStat ()=default
 
 RTreeNodeStat (float loss_chg, float sum_hess, float weight)
 
bool operator== (const RTreeNodeStat &b) const
 
RTreeNodeStat ByteSwap () const
 

公有属性

bst_float loss_chg
 当前分裂引起的损失变化 更多...
 
bst_float sum_hess
 hessian 值的总和,用于衡量数据的覆盖范围 更多...
 
bst_float base_weight
 当前节点的权重 更多...
 
int leaf_child_cnt {0}
 截至目前已知是叶子节点的子节点数量 更多...
 

详细描述

回归树中使用的节点统计信息

构造函数与析构函数文档

◆ RTreeNodeStat() [1/2]

xgboost::RTreeNodeStat::RTreeNodeStat ( )
默认

◆ RTreeNodeStat() [2/2]

xgboost::RTreeNodeStat::RTreeNodeStat ( float  loss_chg,
float  sum_hess,
float  weight 
)
inline

成员函数文档

◆ ByteSwap()

RTreeNodeStat xgboost::RTreeNodeStat::ByteSwap ( ) const
inline

◆ operator==()

bool xgboost::RTreeNodeStat::operator== ( const RTreeNodeStat b) const
inline

成员数据文档

◆ base_weight

bst_float xgboost::RTreeNodeStat::base_weight

当前节点的权重

◆ leaf_child_cnt

int xgboost::RTreeNodeStat::leaf_child_cnt {0}

截至目前已知是叶子节点的子节点数量

◆ loss_chg

bst_float xgboost::RTreeNodeStat::loss_chg

当前分裂引起的损失变化

◆ sum_hess

bst_float xgboost::RTreeNodeStat::sum_hess

hessian 值的总和,用于衡量数据的覆盖范围


本结构体的文档生成自以下文件