45ffcc4d387da3e767ea675640f411dbea349ff0,skopt/wrappers/scikit_learn.py,,,#,342
Before Change
for i in range(32):
opt.step(X, y)
print(opt.best_score_)
print(opt.score(X, y))
print(opt.predict(X))
import pickle as pc
pc.dump(opt, open("m.bin","w"))
opt = pc.load(open("m.bin","r"))
After Change
opt = SkoptSearchCV(
SVC(),
[{
"C": Real(1e-6, 1e+6, prior="log-uniform"),
"gamma": Real(1e-6, 1e+1, prior="log-uniform"),
"degree": Integer(1, 8),
"kernel": Categorical(["linear", "poly", "rbf"]),
}] ,
n_jobs=1, n_iter=32,
)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: scikit-optimize/scikit-optimize
Commit Name: 45ffcc4d387da3e767ea675640f411dbea349ff0
Time: 2017-06-28
Author: iaroslav.email@gmail.com
File Name: skopt/wrappers/scikit_learn.py
Class Name:
Method Name:
Project Name: CamDavidsonPilon/lifelines
Commit Name: d6631a21094ca1e46e53916f61de820b9e33c0ad
Time: 2020-03-23
Author: cam.davidson.pilon@gmail.com
File Name: perf_tests/cp_perf_test.py
Class Name:
Method Name:
Project Name: EpistasisLab/tpot
Commit Name: d554d2ce78425cc70f690ad76972949c94fc6a7e
Time: 2016-08-23
Author: rso@randalolson.com
File Name: tpot/tpot.py
Class Name:
Method Name: main
Project Name: oddt/oddt
Commit Name: f8175e0221bbf31ffc8c10ee809b7ee2e118362d
Time: 2018-02-08
Author: maciek@wojcikowski.pl
File Name: oddt/scoring/functions/RFScore.py
Class Name: rfscore
Method Name: train