Skip to content
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

Add "name_in_kwargs" attribute to hyperparameters #240

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Jun 21, 2024

If None, nothing changes.
Else the name_in_kwargs is used as the key for the hyperparameter in the dictionary generated by solver.suggest_hyperparameters_with_optuna().

This is useful when several hyperparameters are defined with different characteristics, are depending on others so that only one is suggested at a time among them, and are all expected to have the same name in solver.__init__. For instance if they are the parameters of a submethod which is not controlled by the library and happen to share names.

If None, nothing changes.
Else the name_in_kwargs is used as the key for the hyperparameter in the
dictionary generated by `solver.suggest_hyperparameters_with_optuna()`.

This is useful when several hyperparameters are defined with different
characteristics, are depending on others so that only one is suggested
at a time among them, and are all expected to have the same name in
solver.__init__. For instance if they are the parameters of a submethod
which is not controlled by the library and happen to share names.
@g-poveda g-poveda merged commit 09b0771 into airbus:master Jun 25, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants