Closed Jannoshh closed 3 months ago
Hi @Jannoshh and thanks for the issue.
After playing around for some time, I believe that the most prominent bug (the configspace breaking and ConfigurationSpace.substitute_hyperparameters_in_condition
not working as expected cannot) be fixed in YAHPO directly but should rather be fixed in configspace directly https://github.com/automl/ConfigSpace.
Can you maybe provide an example how your configuration looks like after you applied your fixes (I have a fix for both of these issues but fixing them still breaks BenchmarkSet.objective_function, which is more annoying to circumvent and I still don't know why it even breaks.
)?
Closed due to inactivity
Currently BenchmarkSet.set_constant doesn't work for conditional hyperparameters. This produces an error:
When you inspect the optimization space the _colsamplebylevel hyperparameter is listed twice, presumably because the old non-constant parameter is still part of a condition. You should be able to fix it by using _ConfigurationSpace.substitute_hyperparameters_inconditions in _BenchmarkSet.get_optspace to replace the old conditions with new conditions. But this also doesn't work because _ConfigurationSpace.substitute_hyperparameters_inconditions is bugged for InCondition conditions. I have a fix for both of these issues but fixing them still breaks _BenchmarkSet.objectivefunction, which is more annoying to circumvent and I still don't know why it even breaks.