automl / ConfigSpace

Domain specific language for configuration spaces in Python/Cython. Useful for hyperparameter optimization and algorithm configuration.
https://automl.github.io/ConfigSpace/
Other
193 stars 89 forks source link

Remove hyperparameter in a configuration space #332

Open herilalaina opened 12 months ago

herilalaina commented 12 months ago

Closes #267.

This PR creates a new feature that allows removing a hyperparameter in a configuration space. The implementation is built upon the initial code given by @eddiebergman in the mentioned issue, mainly also to remove the conditions and forbidden clauses referenced by the hyperparameter.

herilalaina commented 12 months ago

I have added a few tests to cover different cases. Let me know if you have any specific scenarios that should be included.

simonprovost commented 7 months ago

@herilalaina where are we with that feature?

herilalaina commented 6 months ago

I have added the requested tests already. @eddiebergman is there anything I missed again? :)

eddiebergman commented 6 months ago

Maybe, it just completely slipped my stack. I'll take a look next week when I'm back!

eddiebergman commented 6 months ago

Hi @herilalaina and @simonprovost,

There is an issue in that using Cython 3 to compile ConfigSpace doesn't work anymore as it now expects more rigid typing (of which there are quite a few inconsistencies).

I will manually edit and merge this PR once the PR at #346 is done