smac.smac_cli module

class smac.smac_cli.SMACCLI[source]

Bases: object

Main class of SMAC


main_cli(commandline_arguments: Optional[List[str]] = None) → None[source]

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][source]

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[source]

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[source]

Entry point to be installable to /user/bin :return: