smac.configspace.util module

smac.configspace.util.convert_configurations_to_array(configs: List[ConfigSpace.configuration_space.Configuration]) → numpy.ndarray[source]

Impute inactive hyperparameters in configurations with their default.

Necessary to apply an EPM to the data.

Parameters

configs (List[Configuration]) – List of configuration objects.

Returns

Return type

np.ndarray