稀疏批次的内存存储单元,以 CSR 格式存储。更多...
#include <data.h>
◆ Inst
◆ SparsePage() [1/3]
xgboost::SparsePage::SparsePage |
( |
| ) |
|
|
inline |
◆ SparsePage() [2/3]
xgboost::SparsePage::SparsePage |
( |
SparsePage const & |
that | ) |
|
|
delete |
◆ SparsePage() [3/3]
xgboost::SparsePage::SparsePage |
( |
SparsePage && |
that | ) |
|
|
default |
◆ ~SparsePage()
virtual xgboost::SparsePage::~SparsePage |
( |
| ) |
|
|
virtualdefault |
◆ Clear()
void xgboost::SparsePage::Clear |
( |
| ) |
|
|
inline |
◆ GetTranspose()
SparsePage xgboost::SparsePage::GetTranspose |
( |
int |
num_columns, |
|
|
int32_t |
n_threads |
|
) |
| const |
◆ GetView()
◆ IsIndicesSorted()
bool xgboost::SparsePage::IsIndicesSorted |
( |
int32_t |
n_threads | ) |
const |
◆ MemCostBytes()
size_t xgboost::SparsePage::MemCostBytes |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Push() [1/2]
template<typename AdapterBatchT >
uint64_t xgboost::SparsePage::Push |
( |
const AdapterBatchT & |
batch, |
|
|
float |
missing, |
|
|
int |
nthread |
|
) |
| |
将外部数据批次推送到此页面。
- 模板参数
-
- 参数
-
- 返回
- 此输入批次中遇到的最大列数。在推送许多适配器批次以计算总列数时很有用。
◆ Push() [2/2]
void xgboost::SparsePage::Push |
( |
const SparsePage & |
batch | ) |
|
◆ PushCSC()
void xgboost::SparsePage::PushCSC |
( |
const SparsePage & |
batch | ) |
|
◆ Reindex()
void xgboost::SparsePage::Reindex |
( |
uint64_t |
feature_offset, |
|
|
int32_t |
n_threads |
|
) |
| |
◆ SetBaseRowId()
void xgboost::SparsePage::SetBaseRowId |
( |
size_t |
row_id | ) |
|
|
inline |
◆ Size()
size_t xgboost::SparsePage::Size |
( |
| ) |
const |
|
inline |
◆ SortIndices()
void xgboost::SparsePage::SortIndices |
( |
int32_t |
n_threads | ) |
|
◆ SortRows()
void xgboost::SparsePage::SortRows |
( |
int32_t |
n_threads | ) |
|
◆ base_rowid
size_t xgboost::SparsePage::base_rowid {0} |
◆ data
◆ offset
此类的文档是从以下文件生成的
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/release_3.0.0/include/xgboost/data.h