deepcave.runs.converters.smac3v1

# SMAC3v1Run

This module provides utilities to create a SMAC3v1 (Sequential Model-based Algorithm Configuration) run.

Version 1.4 is used.

## Classes
  • SMAC3v1Run: Define a SMAC3v1 run object.

Classes

SMAC3v1Run(name[, configspace, objectives, ...])

Define a SMAC3v1 (Sequential Model-based Algorithm Configuration) run object.

class deepcave.runs.converters.smac3v1.SMAC3v1Run(name, configspace=None, objectives=None, meta=None, path=None)[source]

Bases: Run

Define a SMAC3v1 (Sequential Model-based Algorithm Configuration) run object.

Version 1.4 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 run on.

Return type:

A SMAC3v1 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]