c6eb49e274d0b031c0fa5187d99357028429b5d8,hyperopt/pyll_utils.py,,hp_uniform,#Any#,30
Before Change
def hp_uniform(label, *args, **kwargs):
if not isinstance(label, basestring):
raise TypeError("require string label")
return pyll.scope.hyperopt_param(label,
pyll.scope.uniform(*args, **kwargs))
def hp_quniform(label, *args, **kwargs):
if not isinstance(label, basestring):
After Change
def hp_uniform(label, *args, **kwargs):
if not isinstance(label, basestring):
raise TypeError("require string label")
return scope.float(
scope.hyperopt_param(label,
scope.uniform(*args, **kwargs)))
def hp_quniform(label, *args, **kwargs):
if not isinstance(label, basestring):
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 5
Instances
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_uniform
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_normal
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_qnormal
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_qloguniform
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_loguniform
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_quniform
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_qlognormal
Project Name: hyperopt/hyperopt
Commit Name: c6eb49e274d0b031c0fa5187d99357028429b5d8
Time: 2012-04-20
Author: james.bergstra@gmail.com
File Name: hyperopt/pyll_utils.py
Class Name:
Method Name: hp_lognormal