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)))
def hp_lognormal(label, *args, **kwargs): return scope.float( scope.hyperopt_param(label, scope.lognormal(*args, **kwargs)))
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)))
def __init__(self): Base.__init__(self, dict(x=scope.lognormal(0, 2)))