a456f784eda6257b73b25fc6c4ee5682dc1341f2,hpsklearn/components.py,,svc_sigmoid,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,253
Before Change
rval = scope.sklearn_SVC(
kernel="sigmoid",
C=hp.lognormal(
_name("C"),
np.log(1.0),
np.log(4.0)) if C is None else C,
gamma=hp.lognormal(
_name("gamma"),
np.log(1.0),
np.log(3.0)) if gamma is None else gamma,
coef0=hp.normal(
_name("coef0"),
0.0,
1.0) if coef0 is None else coef0,
shrinking=hp_bool(
_name("shrinking")) if shrinking is None else shrinking,
tol=hp.lognormal(
_name("tol"),
np.log(1e-3),
np.log(10)) if tol is None else tol,
// -- this is basically only here to prevent
// an infinite loop in libsvm"s solver.
// A more useful control mechanism might be a timer
// or a kill mesg to a sub-process or something...
max_iter=scope.patience_param(scope.int(
hp.qloguniform(
_name("max_iter"),
np.log(1000),
np.log(100000),
q=10,
))) if max_iter is None else max_iter,
verbose=verbose,
cache_size=cache_size,
)
After Change
rval = scope.sklearn_SVC(
kernel="sigmoid",
C=_svc_C(name) if C is None else C,
gamma=_svc_gamma(name) if gamma is None else gamma,
coef0=sigm_coef0 if coef0 is None else coef0,
shrinking=hp_bool(
_name("shrinking")) if shrinking is None else shrinking,
tol=_svc_tol(name) if tol is None else tol,
max_iter=_svc_max_iter(name) if max_iter is None else max_iter,
verbose=verbose,
cache_size=cache_size,
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 24
Instances Project Name: hyperopt/hyperopt-sklearn
Commit Name: a456f784eda6257b73b25fc6c4ee5682dc1341f2
Time: 2014-02-06
Author: james.bergstra@gmail.com
File Name: hpsklearn/components.py
Class Name:
Method Name: svc_sigmoid
Project Name: hyperopt/hyperopt-sklearn
Commit Name: a456f784eda6257b73b25fc6c4ee5682dc1341f2
Time: 2014-02-06
Author: james.bergstra@gmail.com
File Name: hpsklearn/components.py
Class Name:
Method Name: svc_sigmoid
Project Name: hyperopt/hyperopt-sklearn
Commit Name: a456f784eda6257b73b25fc6c4ee5682dc1341f2
Time: 2014-02-06
Author: james.bergstra@gmail.com
File Name: hpsklearn/components.py
Class Name:
Method Name: svc_poly
Project Name: hyperopt/hyperopt-sklearn
Commit Name: a456f784eda6257b73b25fc6c4ee5682dc1341f2
Time: 2014-02-06
Author: james.bergstra@gmail.com
File Name: hpsklearn/components.py
Class Name:
Method Name: svc_rbf