Closed joeforan76 closed 4 years ago
I'm having the same issue running Bayesian optimization on a xgboost regression. I've used parameter-sherpa in the past for such a problem and it worked fine.
Seems to be working fine with scipy 1.4.1, so I'm guessing there's some sort of new compatibility issue with scipy 1.5.0+ since they made a few changes to the "optimize" module
Yeah. Same problem here: I've downgraded to scipy 1.4.1
Hey @joeforan76, @TheVidAllMayThe, and @belerico, thanks for raising the issue. Build is currently also failing due to this. It looks like GPyOpt hasn't been updated to handle the new API so I will for now set the scipy version as <=1.4.1 in the sherpa requirements. I've created an issue with GPyOpt to make them aware of this
Set 'scipy>=1.0.0,<=1.4.1'
. Build is passing again: https://github.com/sherpa-ai/sherpa/pull/99 . Closing this for now, let me know if there are related issues again
When using the bayesian optimization algorithm, I get the following error:
An extract from the output is
The relevant portion of my code is as follows
Sherpa commit:
4ad600c71f76a06993464e5078188f552111b851
Python version: 3.6.3 scipy version: 1.5.0 GPyOpt Version: 1.2.6Is this a bug or am I doing something wrong?