5e2da9838a4dd392ec11432253eda9f823846daa,skopt/tree_opt.py,,_tree_minimize,#,27
Before Change
random_state=None, acq="EI", xi=0.01, kappa=1.96,
verbose=False, specs=None, callback=None):
if callback is not None:
if isinstance(callback, Callable):
callback = [callback]
elif not (isinstance(callback, list) and
all([isinstance(c, Callable) for c in callback])):
raise ValueError("callback should be either a callable or "
"a list of callables.")
rng = check_random_state(random_state)
space = Space(dimensions)
// Initialize with provided points (x0 and y0) and/or random points
After Change
rng = check_random_state(random_state)
space = Space(dimensions)
callbacks = check_callback(callback)
// Initialize with provided points (x0 and y0) and/or random points
if n_calls <= 0:
raise ValueError(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 22
Instances
Project Name: scikit-optimize/scikit-optimize
Commit Name: 5e2da9838a4dd392ec11432253eda9f823846daa
Time: 2016-08-08
Author: mks542@nyu.edu
File Name: skopt/tree_opt.py
Class Name:
Method Name: _tree_minimize
Project Name: scikit-optimize/scikit-optimize
Commit Name: 5e2da9838a4dd392ec11432253eda9f823846daa
Time: 2016-08-08
Author: mks542@nyu.edu
File Name: skopt/gp_opt.py
Class Name:
Method Name: gp_minimize
Project Name: scikit-optimize/scikit-optimize
Commit Name: 5e2da9838a4dd392ec11432253eda9f823846daa
Time: 2016-08-08
Author: mks542@nyu.edu
File Name: skopt/dummy_opt.py
Class Name:
Method Name: dummy_minimize
Project Name: scikit-optimize/scikit-optimize
Commit Name: 5e2da9838a4dd392ec11432253eda9f823846daa
Time: 2016-08-08
Author: mks542@nyu.edu
File Name: skopt/tree_opt.py
Class Name:
Method Name: _tree_minimize