|
xgboost
|
Cut configuration for all the features. More...
#include <hist_util.h>

Public Types | |
| using | WXQSketch = common::WXQuantileSketch< bst_float, bst_float > |
Public Member Functions | |
| uint32_t | GetBinIdx (const Entry &e) |
| void | Init (DMatrix *p_fmat, uint32_t max_num_bins) |
| void | Init (std::vector< WXQSketch > *sketchs, uint32_t max_num_bins) |
| HistCutMatrix () | |
| size_t | NumBins () const |
Public Attributes | |
| std::vector< uint32_t > | row_ptr |
| Unit pointer to rows by element position. More... | |
| std::vector< bst_float > | min_val |
| minimum value of each feature More... | |
| std::vector< bst_float > | cut |
| the cut field More... | |
Protected Member Functions | |
| virtual size_t | SearchGroupIndFromBaseRow (std::vector< bst_uint > const &group_ptr, size_t const base_rowid) const |
Protected Attributes | |
| Monitor | monitor_ |
Cut configuration for all the features.
| xgboost::common::HistCutMatrix::HistCutMatrix | ( | ) |
| uint32_t xgboost::common::HistCutMatrix::GetBinIdx | ( | const Entry & | e | ) |
| void xgboost::common::HistCutMatrix::Init | ( | DMatrix * | p_fmat, |
| uint32_t | max_num_bins | ||
| ) |
| void xgboost::common::HistCutMatrix::Init | ( | std::vector< WXQSketch > * | sketchs, |
| uint32_t | max_num_bins | ||
| ) |
|
inline |
|
protectedvirtual |
| std::vector<bst_float> xgboost::common::HistCutMatrix::cut |
the cut field
| std::vector<bst_float> xgboost::common::HistCutMatrix::min_val |
minimum value of each feature
|
protected |
| std::vector<uint32_t> xgboost::common::HistCutMatrix::row_ptr |
Unit pointer to rows by element position.
1.8.13