Replies: 1 comment 2 replies
-
Hi @Meganton. Thanks for pointing out the lack of documentation. My guess is that this isn't happening because we pass in the transformed search space to this function, and at that time your categorical features has been transformed either by one-hot-encoding (if specified as unordered) or by continuous relaxation (if ordered -- first converted into integers, which are then relaxed to floats). This happens because
To avoid the categoricals getting auto transformed, we need to change the list of transforms. If you're using an unordered choice parameter for the categorical dimension, removing the |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I want to use the Jahs-Bench-Metric as a custom metric in the ax-platform with several Aquisiton and Surrogate-Functions. I created a custom metric for it and it works great, just when i try using it with the 'MixedSingleTaskGP'-Model, i get the error
ValueError: Must specify categorical dimensions for MixedSingleTaskGP
. Now i would like to declare which variables are categorical, as the error told me to do, but this is supposed to happen through themodel_options
-argument ofSurrogate
, which is a dictionary. But there is not documentation on how this dictionary is supposed to look, as in what keywords I have to use and what formats the variables have to have, just that it's a dict[str, any].Would be great if someone could help me, thanks in advance!
My code-snippet:
Beta Was this translation helpful? Give feedback.
All reactions