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
Yup, in general, mutating attributes directly with thing.attr = new_value is not supported as there is a lot of caching going on for sampling efficiency.
But no, unfortunately no API for deleting/updating a particular Hyperparameter. The issues around this mainly concern how to handle situations where other parameters/conditions/forbiddens depend on the hyperparameter being update/deleted.
The best way is to create a new ConfigurationSpace with required update/deletion, handling conditionals as required. Perhaps in the future we could provide some utility to help with this with strategies for how to deal with these conflicts, however this would not be an in-place operation and instead return you a new ConfigurationSpace.
1.I want to update a Hyperparameter from ConfigSpace. Is there any API to do update/delete a Hyperparameter from ConfigSpace?
2.I also found that
add_hyperparameters
can't override the existed Hyperparameter. If I want to changeupper
andlower
, I have to do this likeIn this way, a bug might occur. The following code cannot be executed:
The text was updated successfully, but these errors were encountered: