Skip to content

Commit

Permalink
Avoid cost function ignored warning with LCB acquisition (SheffieldML…
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarkovtsev authored and apaleyes committed Sep 11, 2018
1 parent 3bd165f commit 9365794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GPyOpt/util/arguments_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ def acquisition_creator(self, acquisition_type, model, space, acquisition_optimi
return AcquisitionMPI_MCMC(model, space, acquisition_optimizer, cost_withGradients, acquisition_jitter)

elif acquisition_type =='LCB':
return AcquisitionLCB(model, space, acquisition_optimizer, cost_withGradients, acquisition_weight)
return AcquisitionLCB(model, space, acquisition_optimizer, None, acquisition_weight)

elif acquisition_type =='LCB_MCMC':
return AcquisitionLCB_MCMC(model, space, acquisition_optimizer, cost_withGradients, acquisition_weight)
return AcquisitionLCB_MCMC(model, space, acquisition_optimizer, None, acquisition_weight)

else:
raise Exception('Invalid acquisition selected.')
Expand Down

0 comments on commit 9365794

Please sign in to comment.