xgboost
公共成员函数 | 所有成员列表
xgboost::CSCPage 类参考

#include <data.h>

xgboost::CSCPage 继承图
Inheritance graph
xgboost::CSCPage 协作图
Collaboration graph

公共成员函数

 CSCPage ()
 
 CSCPage (SparsePage page)
 
- 继承自 xgboost::SparsePage 的公共成员函数
HostSparsePageView GetView () const
 
 SparsePage ()
 构造函数 更多...
 
 SparsePage (SparsePage const &that)=delete
 
 SparsePage (SparsePage &&that)=default
 
SparsePageoperator= (SparsePage const &that)=delete
 
SparsePageoperator= (SparsePage &&that)=default
 
virtual ~SparsePage ()=default
 
size_t Size () const
 
size_t MemCostBytes () const
 
void Clear ()
 清理页面 更多...
 
void SetBaseRowId (size_t row_id)
 设置此页面的基本行 ID。 更多...
 
SparsePage GetTranspose (int num_columns, int32_t n_threads) const
 
void SortIndices (int32_t n_threads)
 对列索引进行排序。 更多...
 
bool IsIndicesSorted (int32_t n_threads) const
 检查列索引是否已排序。 更多...
 
void Reindex (uint64_t feature_offset, int32_t n_threads)
 使用偏移量重新索引列索引。 更多...
 
void SortRows (int32_t n_threads)
 
template<typename AdapterBatchT >
uint64_t Push (const AdapterBatchT &batch, float missing, int nthread)
 将外部数据批次推入此页面。 更多...
 
void Push (const SparsePage &batch)
 推入一个稀疏页面。 更多...
 
void PushCSC (const SparsePage &batch)
 推入一个以 CSC 格式存储的 SparsePage更多...
 

额外继承的成员

- 继承自 xgboost::SparsePage 的公共类型
using Inst = common::Span< Entry const >
 批处理中的稀疏向量实例 更多...
 
- 继承自 xgboost::SparsePage 的公共属性
HostDeviceVector< bst_idx_toffset
 
HostDeviceVector< Entrydata
 段的数据 更多...
 
size_t base_rowid {0}
 

构造函数与析构函数文档

◆ CSCPage() [1/2]

xgboost::CSCPage::CSCPage ( )
inline

◆ CSCPage() [2/2]

xgboost::CSCPage::CSCPage ( SparsePage  page)
inlineexplicit

本类的文档生成自以下文件