deephyper.problem.UniformFloatHyperparameter

deephyper.problem.UniformFloatHyperparameter

class deephyper.problem.UniformFloatHyperparameter

Bases: ConfigSpace.hyperparameters.FloatHyperparameter

Methods

allow_greater_less_comparison

check_default

compare

compare_vector

get_neighbors

get_num_neighbors

has_neighbors

is_legal

is_legal_vector

Check whether the given value is a legal value for the vector representation of this hyperparameter.

rvs

scipy compatibility wrapper for _sample, allowing the hyperparameter to be used in sklearn API hyperparameter searchers, eg.

sample

to_integer

Attributes

default_value

log

lower

meta

name

normalized_default_value

q

upper

Check whether the given value is a legal value for the vector representation of this hyperparameter.

Parameters

value – the vector value to check

Returns

True if the given value is a legal vector value, otherwise False

Return type

bool

rvs()

scipy compatibility wrapper for _sample, allowing the hyperparameter to be used in sklearn API hyperparameter searchers, eg. GridSearchCV.