b3851715e8e1ea3550eee8d39ac5a57c31a1acb7,skopt/tests/test_forest_opt.py,,test_tree_based_minimize,#,44

Before Change



def test_tree_based_minimize():
    for name, minimizer in MINIMIZERS:
        yield (check_minimize, minimizer, bench1, 0.,
               [(-2.0, 2.0)], 0.05, 25, 5)

        // XXX: We supply points at the edge of the search
        // space as an initial point to the minimizer.
        // This makes sure that the RF model can find the minimum even

After Change


        X0 = [[-5.6], [-5.8], [5.8], [5.6]]
        check_minimize(minimizer, bench2, -5,
                       [(-6.0, 6.0)], 0.1, 100, 10, X0)
        check_minimize(minimizer, bench3, -0.9,
                       [(-2.0, 2.0)], 0.05, 25)
        check_minimize(minimizer, bench4, 0.0,
                       [("-2", "-1", "0", "1", "2")], 0.05, 10, 1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: b3851715e8e1ea3550eee8d39ac5a57c31a1acb7
Time: 2017-04-25
Author: thomasjpfan@gmail.com
File Name: skopt/tests/test_forest_opt.py
Class Name:
Method Name: test_tree_based_minimize


Project Name: scikit-optimize/scikit-optimize
Commit Name: b3851715e8e1ea3550eee8d39ac5a57c31a1acb7
Time: 2017-04-25
Author: thomasjpfan@gmail.com
File Name: skopt/tests/test_dummy_opt.py
Class Name:
Method Name: test_dummy_minimize


Project Name: scikit-optimize/scikit-optimize
Commit Name: b3851715e8e1ea3550eee8d39ac5a57c31a1acb7
Time: 2017-04-25
Author: thomasjpfan@gmail.com
File Name: skopt/tests/test_gp_opt.py
Class Name:
Method Name: test_gp_minimize