Get the data split mode of the DMatrix. .. versionadded:: 2.1.0
(self)
| 1192 | return ret.value |
| 1193 | |
| 1194 | def data_split_mode(self) -> DataSplitMode: |
| 1195 | """Get the data split mode of the DMatrix. |
| 1196 | |
| 1197 | .. versionadded:: 2.1.0 |
| 1198 | |
| 1199 | """ |
| 1200 | ret = c_bst_ulong() |
| 1201 | _check_call(_LIB.XGDMatrixDataSplitMode(self.handle, ctypes.byref(ret))) |
| 1202 | return DataSplitMode(ret.value) |
| 1203 | |
| 1204 | def slice( |
| 1205 | self, rindex: Union[List[int], np.ndarray], allow_groups: bool = False |
no test coverage detected