-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Allow perturbing a configuration #289
Comments
Hey, I think this is pretty close to the neighborhood retrieval currently implemented. What would be the exact difference? |
The get one exchange neighborhood acts slightly different from what I'm aware (at least from the name it sounds like it would be different). Using the If the Edit: I looked at one exchange, this only acts on one HP at a time by the looks of it and we also needed to treat categoricals with some sort of "strength" to stick to the current categorical, as captured here: if isinstance(hp, CategoricalHyperparameter):
# We basically with (1 - std) choose the same value, otherwise uniformly select
# at random
if rng.uniform() < 1 - std:
return value
choices = set(hp.choices) - {value}
return rng.choice(list(choices)) This is because with a low I guess functionality like this in ConfigSpace is different then the specific method |
I think the best course of action is a more useable form of |
std
doesn't really make sense as a name since it's more of a percentage sphere around a config.One thing is that is unclear behaviour for categoricals.
Here's some reference work for
mfpbench::Config::perturb()
:The text was updated successfully, but these errors were encountered: