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


                    args=(gp, np.min(yi), acq_func, xi, kappa),
                    bounds=space.transformed_bounds,
                    approx_grad=False,
                    maxiter=20) for x in x0)
                results = parallel(jobs)

            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.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

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: PIQuIL/QuCumber
Commit Name: d8e36306e055a69328b67372615b1e05abb298c2
Time: 2019-07-11
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/training_statistics.py
Class Name:
Method Name: rotate_psi


Project Name: ina-foss/inaSpeechSegmenter
Commit Name: 688e56c09d028c0a956d1434ee16c60aea820de1
Time: 2018-04-19
Author: eliottlechapt@yahoo.fr
File Name: inaSpeechSegmenter/segmenter.py
Class Name: Segmenter
Method Name: __call__