deephyper.evaluator.Job#

class deephyper.evaluator.Job(id, config: dict, run_function)[source]#

Bases: object

Represents an evaluation executed by the Evaluator class.

Parameters:
  • id (Any) – unique identifier of the job. Usually an integer.

  • config (dict) – argument dictionnary of the run_function.

  • run_function (callable) – function executed by the Evaluator

Methods

create_running_job

set_output

Attributes

DONE

READY

RUNNING

metadata

Metadata of the job stored in the output of run-function.

objective

Objective returned by the run-function.

result

Alias for the objective property.

property metadata#

Metadata of the job stored in the output of run-function.

property objective#

Objective returned by the run-function.

property result#

Alias for the objective property.