MCPcopy
hub / github.com/hyperopt/hyperopt / __objective_fmin_wrapper

Function __objective_fmin_wrapper

hyperopt/fmin.py:101–109  ·  view source on GitHub ↗

Wrap the objective function on a dict to kwargs

(func)

Source from the content-addressed store, hash-verified

99
100
101def __objective_fmin_wrapper(func):
102 """
103 Wrap the objective function on a dict to kwargs
104 """
105
106 def _objective(kwargs):
107 return func(**kwargs)
108
109 return _objective
110
111
112class FMinIter:

Callers 1

fminFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected