6f012195df3e03677379b4b3f48a0eacd1208437,skopt/tests/test_parallel_cl.py,,test_constant_liar_runs,#,14
Before Change
acq_optimizer="sampling"
)
n_points , n_steps, Y = 2, 13, []
for i in range(n_steps):
strategy = optimizer.par_strats[i % len(optimizer.par_strats)]
x = optimizer.ask(n_points, strategy)
optimizer.tell(x, [branin(v) for v in x])
def test_all_points_different():
After Change
// test arguments check
assert_raises(ValueError, optimizer.ask, {"strategy": "cl_maen"})
assert_raises(ValueError, optimizer.ask, {"n_points": "0"})
assert_raises(ValueError, optimizer.ask, {"n_points": 0})
for i in range(n_steps):
x = optimizer.ask(n_points=n_points, strategy=strategy)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances Project Name: scikit-optimize/scikit-optimize
Commit Name: 6f012195df3e03677379b4b3f48a0eacd1208437
Time: 2017-06-06
Author: iaroslav.email@gmail.com
File Name: skopt/tests/test_parallel_cl.py
Class Name:
Method Name: test_constant_liar_runs
Project Name: scikit-optimize/scikit-optimize
Commit Name: 6f012195df3e03677379b4b3f48a0eacd1208437
Time: 2017-06-06
Author: iaroslav.email@gmail.com
File Name: skopt/tests/test_parallel_cl.py
Class Name:
Method Name: test_constant_liar_runs
Project Name: scikit-optimize/scikit-optimize
Commit Name: 6f012195df3e03677379b4b3f48a0eacd1208437
Time: 2017-06-06
Author: iaroslav.email@gmail.com
File Name: skopt/tests/test_parallel_cl.py
Class Name:
Method Name: test_all_points_different
Project Name: scikit-optimize/scikit-optimize
Commit Name: 6f012195df3e03677379b4b3f48a0eacd1208437
Time: 2017-06-06
Author: iaroslav.email@gmail.com
File Name: skopt/tests/test_parallel_cl.py
Class Name:
Method Name: test_same_set_of_points_ask