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

Function get_current_verbosity

tests/python/test_config.py:11–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9@pytest.mark.parametrize("verbosity_level", [0, 1, 2, 3])
10def test_global_config_verbosity(verbosity_level):
11 def get_current_verbosity():
12 return xgb.get_config()["verbosity"]
13
14 old_verbosity = get_current_verbosity()
15 assert old_verbosity == 1

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected