deephyper.evaluator.callback.TqdmCallback#

class deephyper.evaluator.callback.TqdmCallback[source]#

Bases: deephyper.evaluator.callback.Callback

Print information when jobs are completed by the Evaluator.

An example usage can be:

>>> evaluator.create(method="ray", method_kwargs={..., "callbacks": [TqdmCallback()]})

Methods

on_done

Called each time a Job is completed by the Evaluator.

on_launch

Called each time a Job is created by the Evaluator.

set_max_evals

on_done(job)[source]#

Called each time a Job is completed by the Evaluator.

Parameters

job (Job) – The completed job.

on_launch(job)#

Called each time a Job is created by the Evaluator.

Parameters

job (Job) – The created job.