08739fed98a37c1dd5eb6851415a3fa0b6baef0e,skopt/gp_opt.py,,gp_minimize,#,36
Before Change
if y0 is None and x0:
y0 = []
for i, x in enumerate(x0):
y0.append(verbose_func(
func, x, verbose=verbose, prev_ys=y0, x_info="provided",
func_call_no=func_call_no) )
func_call_no += 1
if callbacks is not None:
After Change
next_x, best = x, a
next_x = space.inverse_transform(next_x.reshape((1, -1)))[0]
yi.append(func(next_x) )
Xi.append(next_x)
curr_res = create_result(Xi, yi, space, rng, specs)
for c in callbacks:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: scikit-optimize/scikit-optimize
Commit Name: 08739fed98a37c1dd5eb6851415a3fa0b6baef0e
Time: 2016-08-08
Author: manojkumarsivaraj334@gmail.com
File Name: skopt/gp_opt.py
Class Name:
Method Name: gp_minimize
Project Name: scikit-optimize/scikit-optimize
Commit Name: 08739fed98a37c1dd5eb6851415a3fa0b6baef0e
Time: 2016-08-08
Author: manojkumarsivaraj334@gmail.com
File Name: skopt/dummy_opt.py
Class Name:
Method Name: dummy_minimize
Project Name: scikit-optimize/scikit-optimize
Commit Name: 08739fed98a37c1dd5eb6851415a3fa0b6baef0e
Time: 2016-08-08
Author: manojkumarsivaraj334@gmail.com
File Name: skopt/tree_opt.py
Class Name:
Method Name: _tree_minimize