deepcave.runs.converters.raytune

# RayTuneRun

This module provides utilities to create a RayTune run.

## Classes
  • RayTuneRun: Define an RayTune run object.

Classes

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

Define a RayTune run object.

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

Bases: Run

Define a RayTune run object.

Properties

pathPath

The path to the run.

classmethod from_path(path)[source]

Return a Run object from a given path.

Parameters:

path (Path) – The path where the data to the run lies.

Returns:

The run.

Return type:

RayTuneRun

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

classmethod is_valid_run(path_name)[source]

Check whether the path name belongs to a valid smac3v2 run.

Parameters:

path_name (str) – The path to check.

Returns:

True if path is valid run. False otherwise.

Return type:

bool

property latest_change: float

Get the timestamp of the latest change.

Returns:

The latest change.

Return type:

Union[float, int]