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

Public Member Functions

 GradientIndexPageSource (float missing, int nthreads, bst_feature_t n_features, size_t n_batches, std::shared_ptr< Cache > cache, BatchParam param, common::HistogramCuts cuts, bool is_dense, common::Span< FeatureType const > feature_types, std::shared_ptr< SparsePageSource > source)
 
void Fetch () final
 
- Public Member Functions inherited from xgboost.data::PageSourceIncMixIn< GHistIndexMatrix >
 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 ()
 

Additional Inherited Members

- Public Types inherited from xgboost::BatchIteratorImpl< S >
using iterator_category = std::forward_iterator_tag
 
- Protected Types inherited from xgboost.data::PageSourceIncMixIn< GHistIndexMatrix >
using Super = SparsePageSourceImpl< GHistIndexMatrix >
 
- Protected Types inherited from xgboost.data::SparsePageSourceImpl< S >
using Ring = std::vector< std::future< std::shared_ptr< S > > >
 
- Protected Member Functions inherited from xgboost.data::SparsePageSourceImpl< S >
bool ReadCache ()
 
void WriteCache ()
 
- Protected Attributes inherited from xgboost.data::PageSourceIncMixIn< GHistIndexMatrix >
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::GradientIndexPageSource::Fetch ( )
finalvirtual

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