class_docstr: The class for driving the Bayesian optimization according to the configuration.
class_docstr_tok: ["The","class","for","driving","the","Bayesian","optimization","according","to","the","configuration","."]
docstr: Imports the acquisition function.
docstr_tok: ["Imports","the","acquisition","function","."]
code: def _get_obj(self, space):
      """
      Imports the acquisition function.
      """
      obj_func = self.obj_func
  
      from ..core.task import SingleObjective
  
      return SingleObjective(
          obj_func,
          self.config["resources"]["cores"],
          space=space,
          unfold_args=True,
      )
  
file_path: GPyOpt/GPyOpt/interface/driver.py
imports: import numpy
  import time
  from ..methods import BayesianOptimization
label_desc: Use image node_id 2 for calling the BODriver obj's underlying member method code with example usage: obj._get_obj(space) and returns: SingleObjective