f03044cef741fef711086b049570836faa5f767a,skopt/benchmarks.py,,bench1,#Any#,7

Before Change



    It has a single minima with f(x*) = 0 at x* = 0.
    
    return np.asscalar(x ** 2)


def bench2(x):
    A benchmark function for test purposes.

After Change



    It has a single minima with f(x*) = 0 at x* = 0.
    
    return x[0] ** 2


def bench2(x):
    A benchmark function for test purposes.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: scikit-optimize/scikit-optimize
Commit Name: f03044cef741fef711086b049570836faa5f767a
Time: 2016-07-18
Author: g.louppe@gmail.com
File Name: skopt/benchmarks.py
Class Name:
Method Name: bench1


Project Name: scikit-optimize/scikit-optimize
Commit Name: f03044cef741fef711086b049570836faa5f767a
Time: 2016-07-18
Author: g.louppe@gmail.com
File Name: skopt/benchmarks.py
Class Name:
Method Name: bench3


Project Name: scikit-optimize/scikit-optimize
Commit Name: f03044cef741fef711086b049570836faa5f767a
Time: 2016-07-18
Author: g.louppe@gmail.com
File Name: skopt/benchmarks.py
Class Name:
Method Name: bench2