xgboost
|
回归树中使用的节点统计信息 更多...
#include <tree_model.h>
公有成员函数 | |
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} |
截至目前已知是叶子节点的子节点数量 更多... | |
回归树中使用的节点统计信息
|
默认 |
|
inline |
|
inline |
|
inline |
bst_float xgboost::RTreeNodeStat::base_weight |
当前节点的权重
int xgboost::RTreeNodeStat::leaf_child_cnt {0} |
截至目前已知是叶子节点的子节点数量
bst_float xgboost::RTreeNodeStat::loss_chg |
当前分裂引起的损失变化
bst_float xgboost::RTreeNodeStat::sum_hess |
hessian 值的总和,用于衡量数据的覆盖范围