code: def acquisition_creator(self, acquisition_type, model, space, acquisition_optimizer, cost_withGradients):
  
          
          acquisition_type = acquisition_type
          model = model
          space = space
          acquisition_optimizer = acquisition_optimizer
          cost_withGradients = cost_withGradients
          acquisition_jitter = self.kwargs.get('acquisition_jitter',0.01)
          acquisition_weight = self.kwargs.get('acquisition_weight',2)
  
          # --- Choose the acquisition
          if acquisition_type is  None or acquisition_type =='EI':
              return AcquisitionEI(model, space, acquisition_optimizer, cost_withGradients, acquisition_jitter)
  
          elif acquisition_type =='EI_MCMC':
              return AcquisitionEI_MCMC(model, space, acquisition_optimizer, cost_withGradients, acquisition_jitter)
  
          elif acquisition_type =='MPI':
              return AcquisitionMPI(model, space, acquisition_optimizer, cost_withGradients, acquisition_jitter)
  
          elif acquisition_type =='MPI_MCMC':
              return AcquisitionMPI_MCMC(model, space, acquisition_optimizer, cost_withGradients, acquisition_jitter)
  
          elif acquisition_type =='LCB':
              return AcquisitionLCB(model, space, acquisition_optimizer, None, acquisition_weight)
  
          elif acquisition_type =='LCB_MCMC':
              return AcquisitionLCB_MCMC(model, space, acquisition_optimizer, None, acquisition_weight)
  
          else:
              raise Exception('Invalid acquisition selected.')
docs: Acquisition chooser from the available options. Extra parameters can be passed via **kwargs.