|
Medial Code Documentation
|
Public Member Functions | |
| None | __init__ (self, List[Any] data, Optional[List[Any]] label=None, Optional[List[Any]] weight=None, Optional[List[Any]] base_margin=None, Optional[List[Any]] qid=None, Optional[List[Any]] label_lower_bound=None, Optional[List[Any]] label_upper_bound=None, Optional[FeatureNames] feature_names=None, Optional[Union[Any, List[Any]]] feature_types=None, Optional[Any] feature_weights=None) |
| Any | data (self) |
| None | reset (self) |
| int | next (self, Callable input_data) |
Public Member Functions inherited from xgboost.core.DataIter | |
| Tuple[Callable, Callable] | get_callbacks (self, bool allow_host, bool enable_categorical) |
| "_ProxyDMatrix" | proxy (self) |
| None | reraise (self) |
| None | __del__ (self) |
Protected Member Functions | |
| Optional[Any] | _get (self, str attr) |
Protected Member Functions inherited from xgboost.core.DataIter | |
| _T | _handle_exception (self, Callable fn, _T dft_ret) |
| None | _reset_wrapper (self, None this) |
| int | _next_wrapper (self, None this) |
Protected Attributes | |
| _data | |
| _label | |
| _weight | |
| _base_margin | |
| _qid | |
| _label_lower_bound | |
| _label_upper_bound | |
| _feature_names | |
| _feature_types | |
| _feature_weights | |
| _iter | |
Protected Attributes inherited from xgboost.core.DataIter | |
| _handle | |
| _enable_categorical | |
| _allow_host | |
| _release | |
| _reset_callback | |
| _next_callback | |
| _next_wrapper | |
| _exception | |
| _temporary_data | |
| _data_ref | |
Additional Inherited Members | |
Data Fields inherited from xgboost.core.DataIter | |
| cache_prefix | |
| proxy | |
A data iterator for `DaskQuantileDMatrix`.
| None xgboost.dask.DaskPartitionIter.__init__ | ( | self, | |
| List[Any] | data, | ||
| Optional[List[Any]] | label = None, |
||
| Optional[List[Any]] | weight = None, |
||
| Optional[List[Any]] | base_margin = None, |
||
| Optional[List[Any]] | qid = None, |
||
| Optional[List[Any]] | label_lower_bound = None, |
||
| Optional[List[Any]] | label_upper_bound = None, |
||
| Optional[FeatureNames] | feature_names = None, |
||
| Optional[Union[Any, List[Any]]] | feature_types = None, |
||
| Optional[Any] | feature_weights = None |
||
| ) |
Reimplemented from xgboost.core.DataIter.
| Any xgboost.dask.DaskPartitionIter.data | ( | self | ) |
Utility function for obtaining current batch of data.
| int xgboost.dask.DaskPartitionIter.next | ( | self, | |
| Callable | input_data | ||
| ) |
Yield next batch of data
Reimplemented from xgboost.core.DataIter.
| None xgboost.dask.DaskPartitionIter.reset | ( | self | ) |
Reset the iterator
Reimplemented from xgboost.core.DataIter.