smac.optimizer.pSMAC¶
Functions
|
Update runhistory with run results from concurrent runs of pSMAC. |
|
Write the runhistory to the output directory. |
- smac.optimizer.pSMAC.read(run_history, output_dirs, configuration_space, logger)[source]¶
Update runhistory with run results from concurrent runs of pSMAC.
- Parameters
run_history (smac.runhistory.RunHistory) – RunHistory object to be updated with run information from runhistory objects stored in the output directory.
output_dirs (Union[str,List[str]]) – List of SMAC output directories or Linux path expression (str) which will be casted into a list with glob.glob(). This function will search the output directories for files matching the runhistory regular expression.
configuration_space (ConfigSpace.ConfigurationSpace) – A ConfigurationSpace object to check if loaded configurations are valid.
logger (logging.Logger) –
- Return type
None
- smac.optimizer.pSMAC.write(run_history, output_directory, logger)[source]¶
Write the runhistory to the output directory.
Overwrites previously outputted runhistories.
- Parameters
run_history (RunHistory) – RunHistory object to be saved.
output_directory (str) –
logger (logging.Logger) –
- Return type
None