cave.reader.smac3_reader module

class cave.reader.smac3_reader.SMAC3Reader(folder, ta_exec_dir)[source]

Bases: cave.reader.base_reader.BaseReader

classmethod check_for_files(path)[source]
classmethod get_glob_file(folder, fn, raise_on_failure=True)

If a file is not found in the expected path structure, we can check if it’s unique in the subfolders and if so, return it.

get_runhistory(cs)[source]
Returns

rh – runhistory

Return type

RunHistory

get_scenario()[source]

Expects self.folder/scenario.txt with appropriately formatted scenario-information (https://automl.github.io/SMAC3/stable/options.html#scenario)

get_trajectory(cs)[source]

Create trajectory (list with dicts as entries)

get_validated_runhistory(cs)[source]
Returns

validated_rh – runhistory with validation-data, if available

Return type

RunHistory