xgboost
|
a column storage, to be used with ApplySplit. Note that each bin id is stored as index[i] + index_base. Different types of column index for each column allow to reduce the memory usage. More...
#include <column_matrix.h>
Public Member Functions | |
Column (ColumnType type, common::Span< const BinIdxType > index, const uint32_t index_base) | |
virtual | ~Column ()=default |
uint32_t | GetGlobalBinIdx (size_t idx) const |
BinIdxType | GetFeatureBinIdx (size_t idx) const |
const uint32_t | GetBaseIdx () const |
common::Span< const BinIdxType > | GetFeatureBinIdxPtr () const |
ColumnType | GetType () const |
size_t | Size () const |
a column storage, to be used with ApplySplit. Note that each bin id is stored as index[i] + index_base. Different types of column index for each column allow to reduce the memory usage.
|
inline |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |