deepcave.evaluators.epm.utils¶
# Utils
This module provides a utility to get the types as well as the bounds of the Hyperparameters.
Functions
|
Return the types of the Hyperparameters. |
- deepcave.evaluators.epm.utils.get_types(config_space, instance_features=None)[source]¶
Return the types of the Hyperparameters.
Also return the bounds of the Hyperparameters and instance features.
- Parameters:
config_space (ConfigurationSpace) – The configuration space.
instance_features (Optional[np.ndarray], optional) – The instance features. Default is None.
- Returns:
The types of the Hyperparameters, as well as the bounds and instance features.
- Return type:
Tuple[List[int], List[Tuple[float, float]]]
- Raises:
ValueError – Inactive parameters not supported for Beta and Normal Hyperparameters.
TypeError – If the Hyperparameter Type is unknown.