xgboost
Public Member Functions | Public Attributes | List of all members
xgboost::RTreeNodeStat Struct Reference

node statistics used in regression tree More...

#include <tree_model.h>

Collaboration diagram for xgboost::RTreeNodeStat:
Collaboration graph

Public Member Functions

bool operator== (const RTreeNodeStat &b) 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...
 

Detailed Description

node statistics used in regression tree

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ base_weight

bst_float xgboost::RTreeNodeStat::base_weight

weight of current node

◆ leaf_child_cnt

int xgboost::RTreeNodeStat::leaf_child_cnt {0}

number of child that is leaf node known up to now

◆ loss_chg

bst_float xgboost::RTreeNodeStat::loss_chg

loss change caused by current split

◆ sum_hess

bst_float xgboost::RTreeNodeStat::sum_hess

sum of hessian values, used to measure coverage of data


The documentation for this struct was generated from the following file: