boa.wrapper_utils.load_yaml#

boa.wrapper_utils.load_yaml(config_file: PathLike, normalize: bool = True, *args, **kwargs) dict#

Read experiment configuration yml file for setting up the optimization. yml file contains the list of parameters, and whether each parameter is a fixed parameter or a range parameter. Fixed parameters have a value specified, and range parameters have a range specified.

Parameters:
  • config_file (os.PathLike) – File path for the experiment configuration file

  • normalize (bool) – Whether to run boa.wrapper_utils.normalize_config after loading config to run certain predictable configuration normalization. (default true)

Returns:

loaded_configs

Return type:

dict