Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Change receive_customized_trial_result API #1491

Merged
merged 2 commits into from
Sep 16, 2019

Conversation

liuzhe-lz
Copy link
Contributor

Change receive_customized_trial_result API to make customized trials not that special.
Tuners will not receive results of customized trials by default.
They can call self.accept_customized_trials() if they support customizing hyper-parameters. After which receive_trial_result will receive results from customized trials as well as algorithm-generated trials.

NODE: This change is somewhat not backward compatible.
Old tuners are still functional, but they will not receive results from customized trials anymore.

parameter_id: int
parameters: object created by 'generate_parameters()'
reward: object reported by trial
"""
# TODO: kwargs doc?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add the doc later this week.

Copy link
Contributor

@xuehui1991 xuehui1991 Sep 10, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it should not appear in our repo.... keep it in your own branch?

@liuzhe-lz liuzhe-lz merged commit 41e5870 into microsoft:master Sep 16, 2019
@liuzhe-lz liuzhe-lz deleted the customized-param branch November 6, 2019 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants