Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions
xgboost.data::SortedCSCPageSource Class Reference
Inheritance diagram for xgboost.data::SortedCSCPageSource:
xgboost.data::PageSourceIncMixIn< SortedCSCPage > xgboost.data::SparsePageSourceImpl< S > xgboost::BatchIteratorImpl< S >

Public Member Functions

 SortedCSCPageSource (float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache, std::shared_ptr< SparsePageSource > source)
 
- Public Member Functions inherited from xgboost.data::PageSourceIncMixIn< SortedCSCPage >
 PageSourceIncMixIn (float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache, bool sync)
 
PageSourceIncMixInoperator++ () final
 
- Public Member Functions inherited from xgboost.data::SparsePageSourceImpl< S >
 SparsePageSourceImpl (float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache)
 
 SparsePageSourceImpl (SparsePageSourceImpl const &that)=delete
 
uint32_t Iter () const
 
const S & operator* () const override
 
std::shared_ptr< S const > Page () const override
 
bool AtEnd () const override
 
virtual void Reset ()
 

Protected Member Functions

void Fetch () final
 
- Protected Member Functions inherited from xgboost.data::SparsePageSourceImpl< S >
bool ReadCache ()
 
void WriteCache ()
 

Additional Inherited Members

- Public Types inherited from xgboost::BatchIteratorImpl< S >
using iterator_category = std::forward_iterator_tag
 
- Protected Types inherited from xgboost.data::PageSourceIncMixIn< SortedCSCPage >
using Super = SparsePageSourceImpl< SortedCSCPage >
 
- Protected Types inherited from xgboost.data::SparsePageSourceImpl< S >
using Ring = std::vector< std::future< std::shared_ptr< S > > >
 
- Protected Attributes inherited from xgboost.data::PageSourceIncMixIn< SortedCSCPage >
std::shared_ptr< SparsePageSourcesource_
 
bool sync_
 
- Protected Attributes inherited from xgboost.data::SparsePageSourceImpl< S >
std::mutex single_threaded_
 
std::shared_ptr< S > page_
 
bool at_end_ {false}
 
float missing_
 
std::int32_t nthreads_
 
bst_feature_t n_features_
 
std::uint32_t count_ {0}
 
std::uint32_t n_batches_ {0}
 
std::shared_ptr< Cachecache_info_
 
std::unique_ptr< Ring > ring_ {new Ring}
 
ExceHandler exce_
 
common::Monitor monitor_
 

Member Function Documentation

◆ Fetch()

void xgboost.data::SortedCSCPageSource::Fetch ( )
inlinefinalprotectedvirtual

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