deephyper.skopt.space.Dimension#
- class deephyper.skopt.space.Dimension[source]#
Bases:
object
Base class for search space dimensions.
Methods
Inverse transform samples from the warped space back into the original space.
Draw random samples.
Setter for the transformer.
Transform samples form the original space to a warped space.
Attributes
Bounds before the transform/preprocessing.
Test if the dimension is a constant.
Name of the dimension.
prior
Dimensionality of sampel from the dimension before the transform/preprocessing.
Bounds after the transform/preprocessing.
Dimensionality of samples from the dimension after the transform/preprocessing.
- property bounds#
Bounds before the transform/preprocessing.
- inverse_transform(Xt)[source]#
Inverse transform samples from the warped space back into the original space.
- property is_constant#
Test if the dimension is a constant.
- property name#
Name of the dimension.
- rvs(n_samples=1, random_state=None)[source]#
Draw random samples.
Args: n_samples : int or None
The number of samples to be drawn.
- random_stateint, RandomState instance, or None (default)
Set random state to something other than None for reproducible results.
- property size#
Dimensionality of sampel from the dimension before the transform/preprocessing.
- property transformed_bounds#
Bounds after the transform/preprocessing.
- property transformed_size#
Dimensionality of samples from the dimension after the transform/preprocessing.