MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / _init

Function _init

python-package/lightgbmmt/callback.py:95–98  ·  view source on GitHub ↗
(env)

Source from the content-addressed store, hash-verified

93 eval_result.clear()
94
95 def _init(env):
96 for data_name, eval_name, _, _ in env.evaluation_result_list:
97 eval_result.setdefault(data_name, collections.OrderedDict())
98 eval_result[data_name].setdefault(eval_name, [])
99
100 def _callback(env):
101 if not eval_result:

Callers 1

_callbackFunction · 0.85

Calls 3

formatMethod · 0.80
appendMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected