コード例 #1
0
ファイル: pyll_utils.py プロジェクト: hitesh915/hyperopt
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
ファイル: pyll_utils.py プロジェクト: TankMermaid/ECLAIR
def hp_lognormal(label, *args, **kwargs):
    return scope.float(
        scope.hyperopt_param(label, scope.lognormal(*args, **kwargs)))
コード例 #3
0
ファイル: pyll_utils.py プロジェクト: pstjohn/hyperopt
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
ファイル: bandits.py プロジェクト: darthsuogles/hyperopt
 def __init__(self):
     Base.__init__(self, dict(x=scope.lognormal(0, 2)))