dcde2348aed207dbd12959aa2ee2096d016feb64,skopt/gbrt_opt.py,,gbrt_minimize,#Any#Any#Any#Any#Any#,52

Before Change


        // XXX so right now BFGS can"t do anything useful
        // XXX -> equivalent to random sampling
        x0 = _random_point(lower_bounds, upper_bounds, rng)
        next_x, _, _ = fmin_l_bfgs_b(
            _expected_improvement,
            np.asfortranarray(x0),
            args=(rgr, best_y),

After Change


                           n_points=20,
                           random_state=rng)
        aq = _expected_improvement(x0, rgr, best_y)
        best = np.argmin(aq)

        Xi[i] = x0[best].ravel()
        yi[i] = func(x0[best])

        if yi[i] < best_y:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: dcde2348aed207dbd12959aa2ee2096d016feb64
Time: 2016-04-19
Author: betatim@gmail.com
File Name: skopt/gbrt_opt.py
Class Name:
Method Name: gbrt_minimize


Project Name: nipy/dipy
Commit Name: 39dc6942a69a280cb6935c48c0d524d2dd2d9385
Time: 2010-11-10
Author: iannimmosmith@gmail.com
File Name: dipy/core/generalized_q_sampling.py
Class Name:
Method Name: triple_odf_maxima


Project Name: GPflow/GPflowOpt
Commit Name: b96598a16031c8b940e991f7c1bf80d702fea07f
Time: 2017-09-27
Author: Pxidbpb4Lq
File Name: gpflowopt/acquisition/mes.py
Class Name: MinValueEntropySearch
Method Name: _setup