예제 #1
0
def hp_lognormal(label, *args, **kwargs):
    if not isinstance(label, basestring):
        raise TypeError("require string label")
    return scope.float(scope.hyperopt_param(label, scope.lognormal(*args, **kwargs)))
예제 #2
0
def hp_lognormal(label, *args, **kwargs):
    return scope.float(
        scope.hyperopt_param(label, scope.lognormal(*args, **kwargs)))
예제 #3
0
def hp_lognormal(label, *args, **kwargs):
    return scope.float(
            scope.hyperopt_param(label,
                scope.lognormal(*args, **kwargs)))
예제 #4
0
def hp_lognormal(label, *args, **kwargs):
    if not isinstance(label, basestring):
        raise TypeError('require string label')
    return scope.float(
        scope.hyperopt_param(label, scope.lognormal(*args, **kwargs)))
예제 #5
0
 def __init__(self):
     Base.__init__(self, dict(x=scope.lognormal(0, 2)))