Closed
Description
As explained in #104, None
cannot be used as a possible value because CS uses it to mark disabled hyperparameters. This can cause issues when None
is a possible value for a hyperparameter, necessitating workarounds like using a string. However, I would like to propose a solution that should be simple to implement.
Instead of using None
to mark disabled hyperparameters, a dummy class would be created for that sole purpose, with null checks replaced by isinstance(x, dummy_class)
checks. That class would be only used internally.
I believe that to be a quick and viable solution to this issue. I would be happy to work on it myself, but I do not know the codebase well enough to do it without assistance. @mfeurer
Metadata
Metadata
Assignees
Labels
No labels