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

Method labels

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

Utility function for obtaining current batch of label.

(self)

Source from the content-addressed store, hash-verified

332 return self._data[self.it]
333
334 def labels(self) -> Any:
335 """Utility function for obtaining current batch of label."""
336 return self._labels[self.it]
337
338 def reset(self) -> None:
339 """Reset the iterator"""

Callers 1

nextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected