Skip to content

Ability to make hyperparameters constant #115

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

Closed
ravinkohli opened this issue Feb 24, 2021 · 1 comment
Closed

Ability to make hyperparameters constant #115

ravinkohli opened this issue Feb 24, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ravinkohli
Copy link
Contributor

For some experiments, we may want to set certain hyperparameters to be constant. This currently can be done if we want to include components for ex, include={'trainer': ['StandardTrainer']} or for categorical hyperparameters by simply sending a single value into the value_range parameter of an update, for ex, HyperparameterSearchSpaceUpdate(node_name="network_backbone", hyperparameter="ShapedResNetBackbone:resnet_shape", value_range=['brick'], default_value='brick').

However, for integer or float hyperparameter, ConfigSpace gives an error if we want to set the lower and upper to the same value. This can be done either via another parameter such as 'make_constant' in the HyperparameterSearchSpaceUpdate or as decided earlier we can encapsulate ConfigSpace by introducing a search_space module that can handle such an update elegently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant