smac.smac_cli¶
- class smac.smac_cli.SMACCLI¶
Bases:
object
Main class of SMAC
- main_cli(commandline_arguments: Optional[List[str]] = None) None ¶
Main function of SMAC for CLI interface
- restore_state(scen: smac.scenario.scenario.Scenario, restore_state: str) Tuple[smac.runhistory.runhistory.RunHistory, smac.stats.stats.Stats, List, List] ¶
Read in files for state-restoration: runhistory, stats, trajectory.
- restore_state_after_output_dir(scen: smac.scenario.scenario.Scenario, stats: smac.stats.stats.Stats, traj_list_aclib: List, traj_list_old: List) ConfigSpace.configuration_space.Configuration ¶
Finish processing files for state-restoration. Trajectory is read in, but needs to be written to new output-folder. Therefore, the output-dir is created. This needs to be considered in the SMAC-facade.
- smac.smac_cli.cmd_line_call() None ¶
Entry point to be installable to /user/bin :return: