deepcave.utils.converters¶
# Converters
This module provides utilities for converters.
Functions
|
Extract the ConfigSpace configuration from a pandas series. |
|
Extract the costs from a pandas series. |
|
Extract the value of a field from a string. |
- deepcave.utils.converters.extract_config(data, configspace)[source]¶
Extract the ConfigSpace configuration from a pandas series.
- Parameters:
data (pd.Series) – The pandas series containing the configuration.
configspace (ConfigSpace.ConfigurationSpace) – The configuration space.
- Returns:
The extracted ConfigSpace configuration.
- Return type:
ConfigSpace.Configuration