Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Friends
xgboost::common::WQSummary< DType, RType >::Entry Struct Reference

an entry in the sketch summary More...

#include <quantile.h>

Public Member Functions

XGBOOST_DEVICE Entry (RType rmin, RType rmax, RType wmin, DType value)
 
void CheckValid (RType eps=0) const
 debug function, check Valid
 
XGBOOST_DEVICE RType RMinNext () const
 
XGBOOST_DEVICE RType RMaxPrev () const
 

Data Fields

RType rmin
 minimum rank
 
RType rmax
 maximum rank
 
RType wmin
 maximum weight
 
DType value
 the value of data
 

Friends

std::ostream & operator<< (std::ostream &os, Entry const &e)
 

Detailed Description

template<typename DType, typename RType>
struct xgboost::common::WQSummary< DType, RType >::Entry

an entry in the sketch summary

Member Function Documentation

◆ CheckValid()

template<typename DType , typename RType >
void xgboost::common::WQSummary< DType, RType >::Entry::CheckValid ( RType  eps = 0) const
inline

debug function, check Valid

Parameters
epsthe tolerate level for violating the relation

◆ RMaxPrev()

template<typename DType , typename RType >
XGBOOST_DEVICE RType xgboost::common::WQSummary< DType, RType >::Entry::RMaxPrev ( ) const
inline
Returns
rmax estimation for v strictly smaller than value

◆ RMinNext()

template<typename DType , typename RType >
XGBOOST_DEVICE RType xgboost::common::WQSummary< DType, RType >::Entry::RMinNext ( ) const
inline
Returns
rmin estimation for v strictly bigger than value

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