Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Occasional skopt.utils.expected_minimum error #1038

Open
taalbrecht opened this issue May 27, 2021 · 0 comments
Open

Occasional skopt.utils.expected_minimum error #1038

taalbrecht opened this issue May 27, 2021 · 0 comments
Labels
upstream Issue affects a dependency up the stack (sklearn, NumPy, Python, ...).

Comments

@taalbrecht
Copy link

Scipy has an underlying bug in scipy.optimize.minimize when evaluating points on the border of a design space. If the point is exactly on the border, scipy will attempt to evaluate points outside of the design space to estimate the gradient. This causes an error per the following issue documented here:

scipy/scipy#3056 (comment)

This issue has been fixed in scipy 1.5.0:

scipy/scipy#10673

Recommend updating setup.py to require scipy >= 1.5.0 to fix this issue.

@kernc kernc added the upstream Issue affects a dependency up the stack (sklearn, NumPy, Python, ...). label May 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream Issue affects a dependency up the stack (sklearn, NumPy, Python, ...).
Projects
None yet
Development

No branches or pull requests

2 participants