Medial Code Documentation
Loading...
Searching...
No Matches
xgboost::common::WXQuantileSketch< DType, RType > Class Template Reference

Quantile sketch use WXQSummary. More...

#include <quantile.h>

Inheritance diagram for xgboost::common::WXQuantileSketch< DType, RType >:
xgboost::common::QuantileSketchTemplate< DType, RType, TSummary >

Additional Inherited Members

- Public Types inherited from xgboost::common::QuantileSketchTemplate< DType, RType, TSummary >
using Summary = TSummary
 type of summary type
 
using Entry = typename Summary::Entry
 the entry type
 
- Public Member Functions inherited from xgboost::common::QuantileSketchTemplate< DType, RType, TSummary >
void Init (size_t maxn, double eps)
 initialize the quantile sketch, given the performance specification
 
void Push (DType x, RType w=1)
 add an element to a sketch
 
void PushSummary (const Summary &summary)
 
void PushTemp ()
 push up temp
 
void GetSummary (SummaryContainer *out)
 get the summary after finalize
 
void CheckValid (RType eps) const
 
void InitLevel (size_t nlevel)
 
- Static Public Member Functions inherited from xgboost::common::QuantileSketchTemplate< DType, RType, TSummary >
static void LimitSizeLevel (size_t maxn, double eps, size_t *out_nlevel, size_t *out_limit_size)
 
- Data Fields inherited from xgboost::common::QuantileSketchTemplate< DType, RType, TSummary >
Summary::Queue inqueue
 
size_t nlevel
 
size_t limit_size
 
std::vector< Summarylevel
 
std::vector< Entrydata
 
SummaryContainer temp
 
- Static Public Attributes inherited from xgboost::common::QuantileSketchTemplate< DType, RType, TSummary >
static float constexpr kFactor = 8.0
 

Detailed Description

template<typename DType, typename RType = unsigned>
class xgboost::common::WXQuantileSketch< DType, RType >

Quantile sketch use WXQSummary.

Template Parameters
DTypetype of data content
RTypetype of rank

The documentation for this class was generated from the following file: