smac.runhistory.dataclasses¶
Classes¶
|
Key for instance, seed and budget. |
|
Key for instance and seed. |
|
Item of a trajectory. |
|
Information about a trial. |
|
Key of a trial. |
|
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 {}) –