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

Commits on Jun 21, 2024

  1. Add "name_in_kwargs" attribute to hyperparameters

    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.
    nhuet committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    e3bfbae View commit details
    Browse the repository at this point in the history