deepcave.runs.converters.bohb¶
# BOHBRun
This module provides utilities for managing and processing data concerning a BOHB (Bayesian Optimization and Hyperparameter Bandits) run.
- ## Classes
BOHBRun: Create a BOHB Run.
Classes
|
Create a BOHB (Bayesian Optimization and Hyperparameter Bandits) run. |
- class deepcave.runs.converters.bohb.BOHBRun(name, configspace=None, objectives=None, meta=None, path=None)[source]¶
Bases:
Run
Create a BOHB (Bayesian Optimization and Hyperparameter Bandits) run.
Properties¶
- pathPath
The path to the run.
- classmethod from_path(path)[source]¶
Create a new BOHB run from a given path and add a new trial to it.
- Parameters:
path (Union[Path, str]) – The pathname to base the run on.
- Return type:
The BOHB run
- property hash: str¶
Get the 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]