code: def hart6(
      x,
      alpha=np.asarray([1.0, 1.2, 3.0, 3.2]),
      P=10**-4
      * np.asarray(
          [
              [1312, 1696, 5569, 124, 8283, 5886],
              [2329, 4135, 8307, 3736, 1004, 9991],
              [2348, 1451, 3522, 2883, 3047, 6650],
              [4047, 8828, 8732, 5743, 1091, 381],
          ]
      ),
      A=np.asarray(
          [
              [10, 3, 17, 3.50, 1.7, 8],
              [0.05, 10, 17, 0.1, 8, 14],
              [3, 3.5, 1.7, 10, 17, 8],
              [17, 8, 0.05, 10, 0.1, 14],
          ]
      ),
  ):
      """The six dimensional Hartmann function is defined on the unit hypercube.
  
      It has six local minima and one global minimum f(x*) = -3.32237 at
      x* = (0.20169, 0.15001, 0.476874, 0.275332, 0.311652, 0.6573).
  
      More details: <http://www.sfu.ca/~ssurjano/hart6.html>
      """
      return -np.sum(
          alpha * np.exp(-np.sum(A * (np.array(x) - P) ** 2, axis=1))
      )
  
file_path: guildai/guild/_skopt/benchmarks.py
imports: import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: hart6(x, alpha, P, A) and returns: unknown