experimental wsummary
More...
#include <quantile.h>
template<typename DType, typename RType>
struct xgboost::common::WQSummary< DType, RType >
experimental wsummary
- Template Parameters
-
DType | type of data content |
RType | type of rank |
◆ WQSummary()
template<typename DType, typename RType>
◆ Check()
template<typename DType, typename RType>
◆ CheckValid()
template<typename DType, typename RType>
debug function, validate whether the summary run consistency check to check if it is a valid summary
- Parameters
-
eps | the tolerate error level, used when RType is floating point and some inconsistency could occur due to rounding error |
◆ CopyFrom()
template<typename DType, typename RType>
copy content from src
- Parameters
-
◆ FixError()
template<typename DType, typename RType>
◆ MakeFromSorted()
template<typename DType, typename RType>
◆ MaxError()
template<typename DType, typename RType>
- Returns
- the maximum error of the Summary
◆ MaxRank()
template<typename DType, typename RType>
- Returns
- maximum rank in the summary
◆ Print()
template<typename DType, typename RType>
◆ Query()
template<typename DType, typename RType>
query qvalue, start from istart
- Parameters
-
qvalue | the value we query for |
istart | starting position |
◆ SetCombine()
template<typename DType, typename RType>
set current summary to be merged summary of sa and sb
- Parameters
-
sa | first input summary to be merged |
sb | second input summary to be merged |
◆ SetPrune()
template<typename DType, typename RType>
set current summary to be pruned summary of src assume data field is already allocated to be at least maxsize
- Parameters
-
src | source summary |
maxsize | size we can afford in the pruned sketch |
◆ data
template<typename DType, typename RType>
◆ size
template<typename DType, typename RType>
number of elements in the summary
The documentation for this struct was generated from the following file: