b8f10b387de929bcb250e4750064355e50b44317,examples/plot_gp_minimize_1d.py,,,#,6

Before Change


    plt.subplot(subplot_no)
    plt.plot(vals.ravel(), posterior_mean, label="Posterior mean")
    plt.plot(vals.ravel(), posterior_std, label="Posterior std")
    plt.plot(vals.ravel(), acquis_values, label="Acquisition values.")
    plt.legend(loc="best")
    plt.title("n_iter = %d" % n_iter)
    subplot_no += 1

After Change



bounds = [[-2, 2]]
x = np.linspace(-2, 2, 200)
func_values = [bench3(xi) for xi in x]

vals = np.reshape(x, (-1, 1))

for n_iter in [10, 20]:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: b8f10b387de929bcb250e4750064355e50b44317
Time: 2016-04-18
Author: manojkumarsivaraj334@gmail.com
File Name: examples/plot_gp_minimize_1d.py
Class Name:
Method Name:


Project Name: AIRLab-POLIMI/mushroom
Commit Name: f2cfa5fb8e73229a1757acbcc94bab13099de439
Time: 2017-06-05
Author: carlo.deramo@gmail.com
File Name: PyPi/utils/spaces.py
Class Name: MultiDiscrete
Method Name: get_idx


Project Name: AIRLab-POLIMI/mushroom
Commit Name: f2cfa5fb8e73229a1757acbcc94bab13099de439
Time: 2017-06-05
Author: carlo.deramo@gmail.com
File Name: PyPi/utils/spaces.py
Class Name: Discrete
Method Name: get_idx