|
xgboost
|
Optionally compressed gradient index. The compression works only with dense data. More...
#include <hist_util.h>

Public Member Functions | |
| Index () | |
| Index (const Index &i)=delete | |
| Index & | operator= (Index i)=delete |
| Index (Index &&i)=delete | |
| Index & | operator= (Index &&i)=delete |
| uint32_t | operator[] (size_t i) const |
| void | SetBinTypeSize (BinTypeSize binTypeSize) |
| BinTypeSize | GetBinTypeSize () const |
| template<typename T > | |
| T const * | data () const |
| template<typename T > | |
| T * | data () |
| uint32_t const * | Offset () const |
| size_t | OffsetSize () const |
| size_t | Size () const |
| void | Resize (const size_t n_bytes) |
| void | SetBinOffset (std::vector< uint32_t > const &cut_ptrs) |
| std::vector< uint8_t >::const_iterator | begin () const |
| std::vector< uint8_t >::const_iterator | end () const |
| std::vector< uint8_t >::iterator | begin () |
| std::vector< uint8_t >::iterator | end () |
Optionally compressed gradient index. The compression works only with dense data.
The main body of construction code is in gradient_index.cc, this struct is only a storage class.
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.17