def __init__(self):
     d = dict(
         # -- alphabetical order
         lu = scope.loguniform(-2, 2),
         qlu = scope.qloguniform(np.log(0.01), np.log(20), 2),
         qu = scope.quniform(-4.999, 5, 1),
         u = scope.uniform(0, 10),
         )
     base.Bandit.__init__(self, as_apply(d))
Beispiel #2
0
def hp_loguniform(label, *args, **kwargs):
    if not isinstance(label, basestring):
        raise TypeError("require string label")
    return scope.float(scope.hyperopt_param(label, scope.loguniform(*args, **kwargs)))
Beispiel #3
0
def hp_loguniform(label, *args, **kwargs):
    return scope.float(
        scope.hyperopt_param(label, scope.loguniform(*args, **kwargs)))
Beispiel #4
0
def hp_loguniform(label, *args, **kwargs):
    if not isinstance(label, basestring):
        raise TypeError('require string label')
    return scope.float(
        scope.hyperopt_param(label, scope.loguniform(*args, **kwargs)))
Beispiel #5
0
def hp_loguniform(label, *args, **kwargs):
    return scope.float(
            scope.hyperopt_param(label,
                scope.loguniform(*args, **kwargs)))