|
Medial Code Documentation
|
Quantile sketch use WXQSummary. More...
#include <quantile.h>
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< Summary > | level |
| std::vector< Entry > | data |
| SummaryContainer | temp |
Static Public Attributes inherited from xgboost::common::QuantileSketchTemplate< DType, RType, TSummary > | |
| static float constexpr | kFactor = 8.0 |
Quantile sketch use WXQSummary.
| DType | type of data content |
| RType | type of rank |