code: def branin(
      x,
      a=1,
      b=5.1 / (4 * np.pi**2),
      c=5.0 / np.pi,
      r=6,
      s=10,
      t=1.0 / (8 * np.pi),
  ):
      """Branin-Hoo function is defined on the square
      :math:`x1 \\in [-5, 10], x2 \\in [0, 15]`.
  
      It has three minima with f(x*) = 0.397887 at x* = (-pi, 12.275),
      (+pi, 2.275), and (9.42478, 2.475).
  
      More details: <http://www.sfu.ca/~ssurjano/branin.html>
      """
      return (
          a * (x[1] - b * x[0] ** 2 + c * x[0] - r) ** 2
          + s * (1 - t) * np.cos(x[0])
          + s
      )
  
file_path: guildai/guild/_skopt/benchmarks.py
imports: import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: branin(x, a, b, c, r, s, t) and returns: unknown