Open elzurdo opened 6 years ago
I now notice that in my system that the GPyOpt_parallel_optimization.ipynb tutorial does work when I use BO_demo_parallel.suggest_next_locations()
.
I find that the problem (or my conceptual mistake?) is that I setmodel_type='GP_MCMC'
and acquisition_type='EI_MCMC'
. When using GP
and EI
(or LCB
), respectively, it seems to work fine.
Since I am not sure if this is a bug in the code, or rather more likely, in my understanding, I leave it for the powers above to decide if to close or further discuss this issue. @javiergonzalezh
+1 I get the same error when using GP_MCMC/EI_MCMC with batch size > 1 and local penalization. GP/EI works fine.
GPyOpt version
1.2.1
python3 version :3.6.5
I would like to run
suggest_next_locations
with batches ofbatch_size
> 1, when settingevaluator_type='local_penalization'
but there seems to be a problem withpred
(see below) being alist
where it should probably be anumpy array
.Doing:
I get error message:
'<' not supported between instances of 'list' and 'float'
And more in detail
Locally I tried
pred
=np.array(pred)
, and this solved forbatch_size=2
, but had a different error message forbatch=3
. I will create a subsequent issue for this.When using
evaluator_type='random'
the original code works fine.The
evaluator_type='thompson_sampling'
option yields a different error that I will address in a subsequent issue.