xgboost
Public Member Functions | List of all members
xgboost::SortedCSCPage Class Reference

#include <data.h>

Inheritance diagram for xgboost::SortedCSCPage:
Inheritance graph
Collaboration diagram for xgboost::SortedCSCPage:
Collaboration graph

Public Member Functions

 SortedCSCPage ()
 
 SortedCSCPage (SparsePage page)
 
- Public Member Functions inherited from xgboost::SparsePage
HostSparsePageView GetView () const
 
 SparsePage ()
 constructor More...
 
 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 ()
 clear the page More...
 
void SetBaseRowId (size_t row_id)
 Set the base row id for this page. More...
 
SparsePage GetTranspose (int num_columns, int32_t n_threads) const
 
void SortIndices (int32_t n_threads)
 Sort the column index. More...
 
bool IsIndicesSorted (int32_t n_threads) const
 Check wether the column index is sorted. More...
 
void SortRows (int32_t n_threads)
 
template<typename AdapterBatchT >
uint64_t Push (const AdapterBatchT &batch, float missing, int nthread)
 Pushes external data batch onto this page. More...
 
void Push (const SparsePage &batch)
 Push a sparse page. More...
 
void PushCSC (const SparsePage &batch)
 Push a SparsePage stored in CSC format. More...
 

Additional Inherited Members

- Public Types inherited from xgboost::SparsePage
using Inst = common::Span< Entry const >
 an instance of sparse vector in the batch More...
 
- Public Attributes inherited from xgboost::SparsePage
HostDeviceVector< bst_row_toffset
 
HostDeviceVector< Entrydata
 the data of the segments More...
 
size_t base_rowid {0}
 

Constructor & Destructor Documentation

◆ SortedCSCPage() [1/2]

xgboost::SortedCSCPage::SortedCSCPage ( )
inline

◆ SortedCSCPage() [2/2]

xgboost::SortedCSCPage::SortedCSCPage ( SparsePage  page)
inlineexplicit

The documentation for this class was generated from the following file: