code: def gaussian_acquisition_1D(
      X,
      model,
      y_opt=None,
      acq_func="LCB",
      acq_func_kwargs=None,
      return_grad=True,
  ):
      """
      A wrapper around the acquisition function that is called by fmin_l_bfgs_b.
  
      This is because lbfgs allows only 1-D input.
      """
      return _gaussian_acquisition(
          np.expand_dims(X, axis=0),
          model,
          y_opt,
          acq_func=acq_func,
          acq_func_kwargs=acq_func_kwargs,
          return_grad=return_grad,
      )
  
file_path: scikit-optimize/skopt/acquisition.py
imports: import numpy
  import warnings
  from scipy.stats import norm
label_desc: Use image node_id 1 for calling a global function with example usage: gaussian_acquisition_1D(X, model, y_opt, acq_func, acq_func_kwargs, return_grad) and returns: _gaussian_acquisition