traditional GK summary
More...
#include <quantile.h>
template<typename DType, typename RType>
struct xgboost::common::GKSummary< DType, RType >
traditional GK summary
◆ GKSummary()
template<typename DType , typename RType >
◆ CheckValid()
template<typename DType , typename RType >
◆ CopyFrom()
template<typename DType , typename RType >
copy content from src
- Parameters
-
◆ MaxError()
template<typename DType , typename RType >
the maximum error of the summary
◆ MaxRank()
template<typename DType , typename RType >
- Returns
- maximum rank in the summary
◆ Print()
template<typename DType , typename RType >
used for debug purpose, print the summary
◆ SetCombine()
template<typename DType , typename RType >
◆ 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: