fb02935ed9bf290339ba2a59183691c691f913bd,benchmarks/benchmarks/go_benchmark_functions/go_funcs_E.py,Easom,fun,#Easom#Any#,40
Before Change
b = 0.2
c = 2 * pi
return (-a * exp(-b * sqrt(sum(x ** 2) / self.N))
- exp(sum(cos(c * x)) / self.N) + a + exp(1))
After Change
def fun(self, x, *args):
self.nfev += 1
a = (x[0] - pi)**2 + (x[1] - pi)**2
return -cos(x[0]) * cos(x[1]) * exp(-a)
class Eckerle4(Benchmark):
r
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: scipy/scipy
Commit Name: fb02935ed9bf290339ba2a59183691c691f913bd
Time: 2015-11-09
Author: andyfaff@gmail.com
File Name: benchmarks/benchmarks/go_benchmark_functions/go_funcs_E.py
Class Name: Easom
Method Name: fun
Project Name: GPflow/GPflow
Commit Name: 29fe09214506d72a342acd6ee7712b84fb0d4610
Time: 2018-04-03
Author: adria.garriga@gmail.com
File Name: gpflow/expectations.py
Class Name:
Method Name: _expectation
Project Name: SheffieldML/GPy
Commit Name: 1e30ffd73038168e6e793c4315aefc74c129ada3
Time: 2015-04-09
Author: james.hensman@gmail.com
File Name: GPy/util/univariate_Gaussian.py
Class Name:
Method Name: std_norm_pdf