MCPcopy Create free account
hub / github.com/dmlc/xgboost / data

Method data

tests/python-gpu/test_from_cudf.py:330–332  ·  view source on GitHub ↗

Utility function for obtaining current batch of data.

(self)

Source from the content-addressed store, hash-verified

328 return np.concatenate(self._labels)
329
330 def data(self) -> "cudf.DataFrame":
331 """Utility function for obtaining current batch of data."""
332 return self._data[self.it]
333
334 def labels(self) -> Any:
335 """Utility function for obtaining current batch of label."""

Callers 15

nextMethod · 0.95
TemporaryDirectoryMethod · 0.45
GetDMatrixFromDataFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TestPartitioningFunction · 0.45
TESTFunction · 0.45
VerifyOnDeviceDataFunction · 0.45
GHistBuilderTestFunction · 0.45
GHistSubtractionTestFunction · 0.45
TestHistUpdaterSamplingFunction · 0.45
TestHistUpdaterInitDataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected