|
Medial Code Documentation
|
Public Member Functions | |
| SparsePageSource (DataIterProxy< DataIterResetCallback, XGDMatrixCallbackNext > iter, DMatrixProxy *proxy, float missing, int nthreads, bst_feature_t n_features, uint32_t n_batches, std::shared_ptr< Cache > cache) | |
| SparsePageSource & | operator++ () final |
| void | Reset () override |
Public Member Functions inherited from xgboost.data::SparsePageSourceImpl< SparsePage > | |
| 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 SparsePage & | operator* () const override |
| std::shared_ptr< SparsePage const > | Page () const override |
| bool | AtEnd () const override |
Additional Inherited Members | |
Public Types inherited from xgboost::BatchIteratorImpl< T > | |
| using | iterator_category = std::forward_iterator_tag |
Protected Types inherited from xgboost.data::SparsePageSourceImpl< SparsePage > | |
| using | Ring = std::vector< std::future< std::shared_ptr< SparsePage > > > |
Protected Member Functions inherited from xgboost.data::SparsePageSourceImpl< SparsePage > | |
| bool | ReadCache () |
| void | WriteCache () |
Protected Attributes inherited from xgboost.data::SparsePageSourceImpl< SparsePage > | |
| std::mutex | single_threaded_ |
| std::shared_ptr< SparsePage > | page_ |
| bool | at_end_ |
| float | missing_ |
| std::int32_t | nthreads_ |
| bst_feature_t | n_features_ |
| std::uint32_t | count_ |
| std::uint32_t | n_batches_ |
| std::shared_ptr< Cache > | cache_info_ |
| std::unique_ptr< Ring > | ring_ |
| ExceHandler | exce_ |
| common::Monitor | monitor_ |
|
inlinefinalvirtual |
Implements xgboost::BatchIteratorImpl< T >.
|
inlineoverridevirtual |
Reimplemented from xgboost.data::SparsePageSourceImpl< SparsePage >.