Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
xgboost::RTreeNodeStat Struct Reference

node statistics used in regression tree More...

#include <tree_model.h>

Public Member Functions

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

Data Fields

bst_float loss_chg
 loss change caused by current split
 
bst_float sum_hess
 sum of hessian values, used to measure coverage of data
 
bst_float base_weight
 weight of current node
 
int leaf_child_cnt {0}
 number of child that is leaf node known up to now
 

Detailed Description

node statistics used in regression tree


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