skopt.benchmarks.bench3

skopt.benchmarks.bench3(x)[source][source]

A benchmark function for test purposes.

f(x) = sin(5*x) * (1 - tanh(x ** 2))

It has a global minima with f(x*) ~= -0.9 at x* ~= -0.3.