a column storage, to be used with ApplySplit. Note that each bin id is stored as index[i] + index_base.
More...
#include <column_matrix.h>
a column storage, to be used with ApplySplit. Note that each bin id is stored as index[i] + index_base.
◆ Column()
xgboost::common::Column::Column |
( |
ColumnType |
type, |
|
|
const uint32_t * |
index, |
|
|
uint32_t |
index_base, |
|
|
const size_t * |
row_ind, |
|
|
size_t |
len |
|
) |
| |
|
inline |
◆ GetBaseIdx()
uint32_t xgboost::common::Column::GetBaseIdx |
( |
| ) |
const |
|
inline |
◆ GetFeatureBinIdx()
uint32_t xgboost::common::Column::GetFeatureBinIdx |
( |
size_t |
idx | ) |
const |
|
inline |
◆ GetGlobalBinIdx()
uint32_t xgboost::common::Column::GetGlobalBinIdx |
( |
size_t |
idx | ) |
const |
|
inline |
◆ GetRowData()
const size_t* xgboost::common::Column::GetRowData |
( |
| ) |
const |
|
inline |
◆ GetRowIdx()
size_t xgboost::common::Column::GetRowIdx |
( |
size_t |
idx | ) |
const |
|
inline |
◆ GetType()
ColumnType xgboost::common::Column::GetType |
( |
| ) |
const |
|
inline |
◆ IsMissing()
bool xgboost::common::Column::IsMissing |
( |
size_t |
idx | ) |
const |
|
inline |
◆ Size()
size_t xgboost::common::Column::Size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: