xgboost
|
builder for histograms of gradient statistics More...
#include <hist_util.h>
Public Types | |
using | GHistRowT = GHistRow< GradientSumT > |
Public Member Functions | |
GHistBuilder ()=default | |
GHistBuilder (size_t nthread, uint32_t nbins) | |
void | BuildHist (const std::vector< GradientPair > &gpair, const RowSetCollection::Elem row_indices, const GHistIndexMatrix &gmat, GHistRowT hist, bool isDense) |
void | BuildBlockHist (const std::vector< GradientPair > &gpair, const RowSetCollection::Elem row_indices, const GHistIndexBlockMatrix &gmatb, GHistRowT hist) |
void | SubtractionTrick (GHistRowT self, GHistRowT sibling, GHistRowT parent) |
uint32_t | GetNumBins () const |
builder for histograms of gradient statistics
using xgboost::common::GHistBuilder< GradientSumT >::GHistRowT = GHistRow<GradientSumT> |
|
default |
|
inline |
void xgboost::common::GHistBuilder< GradientSumT >::BuildBlockHist | ( | const std::vector< GradientPair > & | gpair, |
const RowSetCollection::Elem | row_indices, | ||
const GHistIndexBlockMatrix & | gmatb, | ||
GHistRowT | hist | ||
) |
void xgboost::common::GHistBuilder< GradientSumT >::BuildHist | ( | const std::vector< GradientPair > & | gpair, |
const RowSetCollection::Elem | row_indices, | ||
const GHistIndexMatrix & | gmat, | ||
GHistRowT | hist, | ||
bool | isDense | ||
) |
|
inline |
void xgboost::common::GHistBuilder< GradientSumT >::SubtractionTrick | ( | GHistRowT | self, |
GHistRowT | sibling, | ||
GHistRowT | parent | ||
) |