mlos_core.spaces.converters.flaml
Contains space converters for flaml_optimizer
Attributes
Flaml domain type alias. |
|
Flaml space type alias - a Dict[str, FlamlDomain] |
Functions
|
Converts a ConfigSpace.ConfigurationSpace to dict. |
Module Contents
- mlos_core.spaces.converters.flaml.configspace_to_flaml_space(config_space: ConfigSpace.ConfigurationSpace) Dict[str, FlamlDomain] [source]
Converts a ConfigSpace.ConfigurationSpace to dict.
- Parameters:
config_space (ConfigSpace.ConfigurationSpace) – Input configuration space.
- Returns:
flaml_space – A dictionary of flaml.tune.sample.Domain objects keyed by parameter name.
- Return type: