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

Function test_predict_leaf

tests/python/test_predict.py:33–34  ·  view source on GitHub ↗
(DMatrixT: Type[xgb.DMatrix])

Source from the content-addressed store, hash-verified

31
32@pytest.mark.parametrize("DMatrixT", [xgb.DMatrix, xgb.QuantileDMatrix])
33def test_predict_leaf(DMatrixT: Type[xgb.DMatrix]) -> None:
34 run_predict_leaf("cpu", DMatrixT)
35
36
37def test_predict_shape():

Callers

nothing calls this directly

Calls 1

run_predict_leafFunction · 0.90

Tested by

no test coverage detected