deepcave.runs.converters.smac3v2¶
# SMAC3v2Run
This module provides utilities to create a SMAC3v2 (Sequential Model-based Algorithm Configuration) run.
Version 2.0.0 is used.
- ## Classes
SMAC3v2Run: Define a SMAC3v2 run object.
Classes
|
Define a SMAC3v2 (Sequential Model-based Algorithm Configuration) run object. |
- class deepcave.runs.converters.smac3v2.SMAC3v2Run(name, configspace=None, objectives=None, meta=None, path=None)[source]¶
Bases:
Run
Define a SMAC3v2 (Sequential Model-based Algorithm Configuration) run object.
Version 2.0.0 is used.
Properties¶
- pathPath
The path to the run.
- classmethod from_path(path)[source]¶
Based on working_dir/run_name/*, return a new trials object.
- Parameters:
path (Union[Path, str]) – The path to base the trial object on.
- Return type:
The SMAC3v2 run.
- Raises:
RuntimeError – Instances are not supported.
- property hash: str¶
Hash of the current run.
If the hash changes, the cache has to be cleared. This ensures that the cache always holds the latest results of the run.
- Returns:
The hash of the run.
- Return type:
str
- property latest_change: float | int¶
Get the timestamp of the latest change.
- Returns:
The latest change.
- Return type:
Union[float, int]