smac.scenario.scenario module

class smac.scenario.scenario.Scenario(scenario: Optional[Union[str, Dict]] = None, cmd_options: Optional[Dict] = None)

Bases: object

Scenario contains the configuration of the optimization process and constructs a scenario object from a file or dictionary.

All arguments set in the Scenario are set as attributes.

_to_str_and_warn(list_: List[Any]) List[Any]
_transform_arguments() None


feature_dict: Dict[str, numpy.ndarray] = {}
run_obj = 'None'
use_ta_time = True
write() None

Write scenario to self.output_dir/scenario.txt.