Optional by-column histogram build. (#8233)
Co-authored-by: dmitry.razdoburdin <drazdobu@jfldaal005.jf.intel.com>
This commit is contained in:
committed by
GitHub
parent
b791446623
commit
eb7bbee2c9
@@ -623,7 +623,8 @@ class GHistBuilder {
|
||||
// construct a histogram via histogram aggregation
|
||||
template <bool any_missing>
|
||||
void BuildHist(const std::vector<GradientPair>& gpair, const RowSetCollection::Elem row_indices,
|
||||
const GHistIndexMatrix& gmat, GHistRow hist) const;
|
||||
const GHistIndexMatrix& gmat, GHistRow hist,
|
||||
bool force_read_by_column = false) const;
|
||||
uint32_t GetNumBins() const {
|
||||
return nbins_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user