smac.runhistory.dataclasses

Classes

InstanceSeedBudgetKey([instance, seed, budget])

Key for instance, seed and budget.

InstanceSeedKey([instance, seed])

Key for instance and seed.

TrajectoryItem(incumbent, cost, budget, ...)

Item of a trajectory.

TrialInfo(config[, instance, seed, budget, ...])

Information about a trial.

TrialKey(config_id[, instance, seed, budget])

Key of a trial.

TrialValue(cost[, time, status, starttime, ...])

Values of a trial.

Interfaces

class smac.runhistory.dataclasses.InstanceSeedBudgetKey(instance=None, seed=None, budget=None)[source]

Bases: object

Key for instance, seed and budget.

Parameters:
  • instance (str | None, defaults to None) –

  • seed (int | None, defaults to None) –

  • budget (float | None, defaults to None) –

class smac.runhistory.dataclasses.InstanceSeedKey(instance=None, seed=None)[source]

Bases: object

Key for instance and seed.

Parameters:
  • instance (str | None, defaults to None) –

  • seed (int | None, defaults to None) –

class smac.runhistory.dataclasses.TrajectoryItem(incumbent, cost, budget, walltime_used, num_trial)[source]

Bases: object

Item of a trajectory.

class smac.runhistory.dataclasses.TrialInfo(config, instance=None, seed=None, budget=None, source=0)[source]

Bases: object

Information about a trial.

Parameters:
  • config (Configuration) –

  • instance (str | None, defaults to None) –

  • seed (int | None, defaults to None) –

  • budget (float | None, defaults to None) –

  • source (int | None, defaults to 0) – Source is used in the intensifier to indicate from which worker the trial was coming from.

class smac.runhistory.dataclasses.TrialKey(config_id, instance=None, seed=None, budget=None)[source]

Bases: object

Key of a trial.

Parameters:
  • config_id (int) –

  • instance (str | None, defaults to None) –

  • seed (int | None, defaults to None) –

  • budget (float | None, defaults to None) –

class smac.runhistory.dataclasses.TrialValue(cost, time=0.0, status=StatusType.SUCCESS, starttime=0.0, endtime=0.0, additional_info=<factory>)[source]

Bases: object

Values of a trial.

Parameters:
  • cost (float | list[float]) –

  • time (float, defaults to 0.0) –

  • status (StatusType, defaults to StatusType.SUCCESS) –

  • starttime (float, defaults to 0.0) –

  • endtime (float, defaults to 0.0) –

  • additional_info (dict[str, Any], defaults to {}) –