83537b4219c1573d130613b445a15a9565c21b23,python/bonsai/compute.py,,train,#Any#Any#Any#Any#Any#Any#Any#,212
Before Change
return {"loss": score[0], "status": STATUS_OK}
space = {
"depth": hp.choice("depth", [1,2]),
"l1": 1+hp.randint("l1", 100),
"l2": 1+hp.randint("l2", 100),
"activation": hp.choice("activation", ["tanh"]),
After Change
"loss_fct": hp.choice("d1_loss_fct", ["mean_squared_error"]),
"optimizer": hp.choice("d1_optimizer", ["adam"]),
},
{ "depth": 2,
"l1": 1+hp.randint("d2_l1", 100),
"l2": 1+hp.randint("d2_l2", 100),
"activation": hp.choice("d2_activation", ["tanh"]),
"loss_fct": hp.choice("d2_loss_fct", ["mean_squared_error"]),
"optimizer": hp.choice("d2_optimizer", ["adam"]),
}
])
// The Trials object will store details of each iteration
trials = Trials()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: regel/loudml
Commit Name: 83537b4219c1573d130613b445a15a9565c21b23
Time: 2017-08-27
Author: sebastien.regel@gmail.com
File Name: python/bonsai/compute.py
Class Name:
Method Name: train
Project Name: Microsoft/nni
Commit Name: 5461fe7792ce43c3a7009a602c086842fe9fae64
Time: 2018-12-20
Author: 871886504@qq.com
File Name: tools/nni_annotation/testcase/annotated/dir/simple.py
Class Name:
Method Name:
Project Name: gooofy/zamia-speech
Commit Name: 85861ea5c5320518267405bef050a0dab933e069
Time: 2018-02-17
Author: guenter@zamia.org
File Name: phone_gen.py
Class Name:
Method Name: