Replies: 1 comment 8 replies
-
Hi @jduerholt! That's actually pretty close to how I was thinking of modifying this optimizer while implementing categorical support, but @TobyBoyne beat me to it. The current version works fine for us in Ax, since we tend to use transforms that convert "choice" (could be ordinal or categorical) parameters to a sequence of integers. What you're proposing makes a lot of sense and opens the door to using the optimizer without requiring such a transform (but doesn't prevent using it with one either). I am guessing some of the neighbor generation code would be slightly more expensive, but that's likely negligible compared to evaluating the acquisition function. Regarding the input format, what do you think of @SamuelGabriel is working on batchifying |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
we are currently planning to adopt
optimize_acqf_mixed_alternating
into our workflows. For this reason, I have a few questions regarding its interface:discrete_values: List[List[float]]
instead of using the bounds? Then one does not need any input transform to facilitate the mappings and have an easier handling of non-equally spaced discrete options.categorical_options
: List[List[int]] and in the example case described here, it would be[0, 2]
.If you like the proposed changes, I would volunteer for providing a PR. I think, it would make the methon much easier to use, if one models the allowed discrete/categorical options explicitly.
Best,
Johannes
cc: @TobyBoyne
Beta Was this translation helpful? Give feedback.
All reactions