cave.reader.base_reader module

class cave.reader.base_reader.BaseReader(folder, ta_exec_dir)[source]

Bases: object

Abstract base class to inherit reader from. Reader load necessary objects (scenario, runhistory, trajectory) from files for different formats.

get_runhistory()[source]

Create RunHistory-object from files.

get_scenario()[source]

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

get_trajectory()[source]

Create trajectory (list with dicts as entries)

get_validated_runhistory()[source]

Create validated runhistory from files, if available.

cave.reader.base_reader.changedir(newdir)[source]