246339ce01898c92ce9e143895c5def9c46dcb78,skopt/gp_opt.py,,gp_minimize,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,26

Before Change


    rng = check_random_state(random_state)

    // Bounds
    n_params = len(bounds)
    lb, ub = extract_bounds(bounds)

    // Default GP
    if base_estimator is None:

After Change


                if a < best:
                    next_x, best = x, a

        next_x = space.inverse_transform(next_x.reshape((1, -1)))[0]
        print(next_x)
        next_y = func(next_x)
        Xi = np.vstack((Xi, next_x))
        yi.append(next_y)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: 246339ce01898c92ce9e143895c5def9c46dcb78
Time: 2016-06-14
Author: g.louppe@gmail.com
File Name: skopt/gp_opt.py
Class Name:
Method Name: gp_minimize


Project Name: scikit-optimize/scikit-optimize
Commit Name: 0a60b2d2807cf370e984b0bd9f7c4d0edabe4267
Time: 2016-06-14
Author: g.louppe@gmail.com
File Name: skopt/gbrt_opt.py
Class Name:
Method Name: gbrt_minimize


Project Name: IndicoDataSolutions/finetune
Commit Name: f2a10b3ecbd0626792133f51a136138162c7f0a5
Time: 2019-05-24
Author: benlt@hotmail.co.uk
File Name: finetune/target_models/classifier.py
Class Name: Classifier
Method Name: explain