|
xgboost
|
node statistics used in regression tree More...
#include <tree_model.h>

Public Member Functions | |
| RTreeNodeStat ()=default | |
| RTreeNodeStat (float loss_chg, float sum_hess, float weight) | |
| bool | operator== (const RTreeNodeStat &b) const |
| RTreeNodeStat | ByteSwap () const |
Public Attributes | |
| bst_float | loss_chg |
| loss change caused by current split More... | |
| bst_float | sum_hess |
| sum of hessian values, used to measure coverage of data More... | |
| bst_float | base_weight |
| weight of current node More... | |
| int | leaf_child_cnt {0} |
| number of child that is leaf node known up to now More... | |
node statistics used in regression tree
|
default |
|
inline |
|
inline |
|
inline |
| bst_float xgboost::RTreeNodeStat::base_weight |
weight of current node
| int xgboost::RTreeNodeStat::leaf_child_cnt {0} |
number of child that is leaf node known up to now
| bst_float xgboost::RTreeNodeStat::loss_chg |
loss change caused by current split
| bst_float xgboost::RTreeNodeStat::sum_hess |
sum of hessian values, used to measure coverage of data