08739fed98a37c1dd5eb6851415a3fa0b6baef0e,skopt/tree_opt.py,,_tree_minimize,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,27

Before Change


    yi = y0

    for i, x in enumerate(X_rand):
        yi.append(verbose_func(
            func, x, verbose=verbose, prev_ys=yi, x_info="random",
            func_call_no=func_call_no))
        func_call_no += 1

        if callbacks is not None:

After Change


        next_x = X[np.argmin(values)]
        next_x = space.inverse_transform(next_x.reshape((1, -1)))[0]

        yi.append(func(next_x))
        Xi.append(next_x)

        if callbacks is not None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


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


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/gp_opt.py
Class Name:
Method Name: gp_minimize