|
|
| WXQSummary (Entry *data, size_t size) |
| |
|
void | SetPrune (const WQSummary< DType, RType > &src, size_t maxsize) |
| |
|
| WQSummary (Entry *data, size_t size) |
| |
| RType | MaxError () const |
| |
| Entry | Query (DType qvalue, size_t &istart) const |
| | query qvalue, start from istart
|
| |
| RType | MaxRank () const |
| |
| void | CopyFrom (const WQSummary &src) |
| | copy content from src
|
| |
|
void | MakeFromSorted (const Entry *entries, size_t n) |
| |
| void | CheckValid (RType eps) const |
| | debug function, validate whether the summary run consistency check to check if it is a valid summary
|
| |
| void | SetPrune (const WQSummary &src, size_t maxsize) |
| | set current summary to be pruned summary of src assume data field is already allocated to be at least maxsize
|
| |
| void | SetCombine (const WQSummary &sa, const WQSummary &sb) |
| | set current summary to be merged summary of sa and sb
|
| |
|
void | Print () const |
| |
|
void | FixError (RType *err_mingap, RType *err_maxgap, RType *err_wgap) const |
| |
template<typename DType, typename RType>
struct xgboost::common::WXQSummary< DType, RType >
try to do efficient pruning