b18e95863def3c4b60b248503e78c95e97675b38,skopt/tests/test_forest_opt.py,,test_tree_based_minimize,#,51

Before Change


        // when x < 0 and otherwise.
        // Hence sample uniformly from [-6, 0] and
        // [0, 6] and provide a warm-start.
        X1 = (-6 + 6 * rng.rand(5, 1)).tolist()
        X2 = (6 * rng.rand(5, 1)).tolist()
        X0 = X1 + X2
        yield (check_minimize, minimizer, bench2, -5,
               [(-6.0, 6.0)], 0.05, 100, 0, X0)

        yield (check_minimize, minimizer, bench3, -0.9,

After Change


        // if all the randomly sampled points are one side of the
        // the minimum, since for a decision tree any point greater than
        // max(sampled_points) would give a constant value.
        X0 = [[-5.6], [-5.8], [5.8], [5.6]]
        yield (check_minimize, minimizer, bench2, -5,
               [(-6.0, 6.0)], 0.1, 100, 10, X0)

        yield (check_minimize, minimizer, bench3, -0.9,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: b18e95863def3c4b60b248503e78c95e97675b38
Time: 2016-08-18
Author: manojkumarsivaraj334@gmail.com
File Name: skopt/tests/test_forest_opt.py
Class Name:
Method Name: test_tree_based_minimize


Project Name: kwgoodman/numerox
Commit Name: cb69f51776fe6c75b4349b2ee2f8c0762a5751bf
Time: 2017-12-19
Author: kwgoodman@gmail.com
File Name: numerox/report.py
Class Name: Report
Method Name: performance_df


Project Name: bokeh/bokeh
Commit Name: cd7a039d4c87544e19802643e08564a0fb954dac
Time: 2015-10-13
Author: nlr06886@gmail.com
File Name: examples/charts/file/stacked_bar.py
Class Name:
Method Name:


Project Name: marcoancona/DeepExplain
Commit Name: 8d7f748e1d8eae7d57444c6e42119dadc47287e9
Time: 2018-02-27
Author: marco.ancona@inf.ethz.ch
File Name: deepexplain/tensorflow/methods.py
Class Name: IntegratedGradients
Method Name: run