|
Medial Code Documentation
|
Public Member Functions | |
| PageSourceIncMixIn (float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache, bool sync) | |
| PageSourceIncMixIn & | operator++ () 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 Types | |
| using | Super = SparsePageSourceImpl< S > |
Protected Types inherited from xgboost.data::SparsePageSourceImpl< S > | |
| using | Ring = std::vector< std::future< std::shared_ptr< S > > > |
Protected Attributes | |
| std::shared_ptr< SparsePageSource > | source_ |
| bool | sync_ {true} |
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< Cache > | cache_info_ |
| std::unique_ptr< Ring > | ring_ {new Ring} |
| ExceHandler | exce_ |
| common::Monitor | monitor_ |
Additional Inherited Members | |
Public Types inherited from xgboost::BatchIteratorImpl< S > | |
| using | iterator_category = std::forward_iterator_tag |
Protected Member Functions inherited from xgboost.data::SparsePageSourceImpl< S > | |
| bool | ReadCache () |
| void | WriteCache () |
| virtual void | Fetch ()=0 |
|
inlinefinalvirtual |
Implements xgboost::BatchIteratorImpl< S >.