deephyper.skopt.benchmarks.bench4#

deephyper.skopt.benchmarks.bench4(x)[source]#

A benchmark function for test purposes.

f(x) = float(x) ** 2

where x is a string. It has a single minima with f(x*) = 0 at x* = “0”. This benchmark is used for checking support of categorical variables.