b0699b34e2b16cb3abbd22c397077cc6c21ef279,skopt/optimizer/base.py,,base_minimize,#,29

Before Change



                with warnings.catch_warnings():
                    warnings.simplefilter("ignore")
                    x, a, _ = fmin_l_bfgs_b(
                        gaussian_acquisition_1D, x0,
                        args=(gp, np.min(yi), acq_func, xi, kappa),
                        bounds=space.transformed_bounds,

After Change



            cand_xs = np.array([r[0] for r in results])
            cand_acqs = np.array([r[1] for r in results])
            best_ind = np.argmin(cand_acqs)
            a = cand_acqs[best_ind]
            if a < best:
                next_x, best = cand_xs[best_ind], a

        // lbfg should handle this but just in case there are precision errors.
        next_x = np.clip(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: b0699b34e2b16cb3abbd22c397077cc6c21ef279
Time: 2016-11-30
Author: mks542@nyu.edu
File Name: skopt/optimizer/base.py
Class Name:
Method Name: base_minimize


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


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: scikit-optimize/scikit-optimize
Commit Name: b0699b34e2b16cb3abbd22c397077cc6c21ef279
Time: 2016-11-30
Author: mks542@nyu.edu
File Name: skopt/optimizer/base.py
Class Name:
Method Name: base_minimize