Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
xgboost::common::HistCollection Class Reference

histogram of gradient statistics for multiple nodes More...

#include <hist_util.h>

Public Member Functions

GHistRow operator[] (bst_uint nid) const
 
bool RowExists (bst_uint nid) const
 
void Init (std::uint32_t n_total_bins)
 Initialize histogram collection.
 
void AddHistRow (bst_uint nid)
 
void AllocateData (bst_uint nid)
 

Detailed Description

histogram of gradient statistics for multiple nodes

Member Function Documentation

◆ Init()

void xgboost::common::HistCollection::Init ( std::uint32_t  n_total_bins)
inline

Initialize histogram collection.

Parameters
n_total_binsNumber of bins across all features.

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