You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2024. It is now read-only.
With the current code, there is no way to short-hand a Categorical of two numbers: even list or numpy.ndarray object go through the inference that is described for tuple objects.
To have the code do what you want, pass an explicit Categorical object:
In skopt.Optimizer docs it said:
however a list of length 2 is considered the same as a tuple.
a reproduceable example:
it shows that the optimizer tries many values between 250 and 500 and not just both values.
The text was updated successfully, but these errors were encountered: