deephyper.skopt.space.space.Dimension

deephyper.skopt.space.space.Dimension#

class deephyper.skopt.space.space.Dimension[source]#

Bases: object

Base class for search space dimensions.

Methods

inverse_transform

Inverse transform samples from the warped space back into the original space.

rvs

Draw random samples.

set_transformer

transform

Transform samples form the original space to a warped space.

Attributes

bounds

is_constant

name

prior

size

transformed_bounds

transformed_size

inverse_transform(Xt)[source]#

Inverse transform samples from the warped space back into the original space.

rvs(n_samples=1, random_state=None)[source]#

Draw random samples.

Parameters:
  • n_samples (int or None) – The number of samples to be drawn.

  • random_state (int, RandomState instance, or None (default)) – Set random state to something other than None for reproducible results.

transform(X)[source]#

Transform samples form the original space to a warped space.