Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Can we set default values of hyper parameters for HPO? #3697

Closed
shiyf369 opened this issue May 28, 2021 · 2 comments
Closed

Can we set default values of hyper parameters for HPO? #3697

shiyf369 opened this issue May 28, 2021 · 2 comments

Comments

@shiyf369
Copy link

Because we know some default configuration can reach good accuracy, we want to use these default configuration as startup parameters.
How do we set it? Thank you.

@QuanluZhang
Copy link
Contributor

@shiyf369 , this is a very good feature request. currently, we have not supported specifying initial configurations yet. I have two proposals for this feature request. first, providing a new field in experiment config yaml file, e.g., initial_trial_configs which is list of trial configurations. These configurations must be included in the specified search space. Second, adding another field for each key in search space to specify the distribution of the candidate values of this key. users can specify high sampling probability for the candidate values that they think might perform better. The first one is easier to be supported, and easy to use. The second one complex but may cover more scenarios.

Feel free to give us your comments, proposals, or more information about your scenario and requirements :)

@shiyf369
Copy link
Author

shiyf369 commented Jun 6, 2021

Thank you for your reply. Our requirement is very simply. The hyper parameters can be assigned a default value, NNI run the default value first in trials.

For example, the "learning_rate" can be assigned a default value 0.008.
{
"learning_rate": {"_type": "uniform", "_value": [0.0001, 0.1], "_default_value": 0.008}
}

@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

4 participants