skopt.benchmarks.bench1

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

A benchmark function for test purposes.

f(x) = x ** 2

It has a single minima with f(x*) = 0 at x* = 0.