MCPcopy
hub / github.com/hyperopt/hyperopt / fmin_thread_fn

Function fmin_thread_fn

hyperopt/tests/integration/test_mongoexp.py:406–415  ·  view source on GitHub ↗
(space, mongo_trials: MongoTrials, max_evals: int)

Source from the content-addressed store, hash-verified

404
405
406def fmin_thread_fn(space, mongo_trials: MongoTrials, max_evals: int):
407 fmin(
408 fn=objective_with_attachments,
409 space=space,
410 algo=rand.suggest,
411 trials=mongo_trials,
412 rstate=np.random.default_rng(),
413 max_evals=max_evals,
414 return_argmin=False,
415 )
416
417
418def test_trial_attachments():

Callers

nothing calls this directly

Calls 1

fminFunction · 0.90

Tested by

no test coverage detected