mlos_core.spaces.converters.flaml

Contains space converters for flaml_optimizer

Attributes

FlamlDomain

Flaml domain type alias.

FlamlSpace

Flaml space type alias - a Dict[str, FlamlDomain]

Functions

configspace_to_flaml_space(→ Dict[str, FlamlDomain])

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:

dict

mlos_core.spaces.converters.flaml.FlamlDomain: TypeAlias = flaml.tune.sample.Domain[source]

Flaml domain type alias.

mlos_core.spaces.converters.flaml.FlamlSpace: TypeAlias = Dict[str, flaml.tune.sample.Domain][source]

Flaml space type alias - a Dict[str, FlamlDomain]