skopt.space.space
.Dimension¶
-
class
skopt.space.space.
Dimension
[source][source]¶ Base class for search space dimensions.
- Attributes
- bounds
- is_constant
- name
- prior
- size
- transformed_bounds
- transformed_size
Methods
Inverse transform samples from the warped space back into the original space.
rvs
([n_samples, random_state])Draw random samples.
transform
(X)Transform samples form the original space to a warped space.
set_transformer
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
-
inverse_transform
(Xt)[source][source]¶ Inverse transform samples from the warped space back into the original space.