deepcave.runs.converters.amltk¶
# AMLTKRun
This module provides utilities to create an AMLTK (AutoML Toolkit) run.
- ## Classes
AMLTKRun: Define an AMLTK run object.
Classes
|
Define an AMLTK (AutoML Toolkit) run object. |
- class deepcave.runs.converters.amltk.AMLTKRun(name, configspace=None, objectives=None, meta=None, path=None)[source]¶
Bases:
Run
Define an AMLTK (AutoML Toolkit) run object.
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 AMLTK 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]