00cce06892217b891c8a85ead8c51b28d556bd64,skopt/tree_opt.py,,forest_minimize,#,312

Before Change


                             " be a string or a regressor instance."
                             " "%s" is neither." % base_estimator)

    res = _tree_minimize(func, dimensions, base_estimator,
                         n_calls=n_calls,
                         n_points=n_points, n_random_starts=n_random_starts,
                         x0=x0, y0=y0, random_state=random_state, acq=acq,
                         xi=xi, kappa=kappa, verbose=verbose)
    res.specs = specs

    return res

After Change


                             " be a string or a regressor instance."
                             " "%s" is neither." % base_estimator)

    return _tree_minimize(func, dimensions, base_estimator,
                          n_calls=n_calls,
                          n_points=n_points, n_random_starts=n_random_starts,
                          x0=x0, y0=y0, random_state=random_state, acq=acq,
                          xi=xi, kappa=kappa, verbose=verbose, specs=specs,
                          callback=callback)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: 00cce06892217b891c8a85ead8c51b28d556bd64
Time: 2016-08-08
Author: manojkumarsivaraj334@gmail.com
File Name: skopt/tree_opt.py
Class Name:
Method Name: forest_minimize


Project Name: scikit-optimize/scikit-optimize
Commit Name: 046f68ada873c5c02d17d49dac1f81c9c7a4179b
Time: 2016-07-27
Author: g.louppe@gmail.com
File Name: skopt/tree_opt.py
Class Name:
Method Name: gbrt_minimize


Project Name: scikit-optimize/scikit-optimize
Commit Name: 046f68ada873c5c02d17d49dac1f81c9c7a4179b
Time: 2016-07-27
Author: g.louppe@gmail.com
File Name: skopt/tree_opt.py
Class Name:
Method Name: forest_minimize