-
Notifications
You must be signed in to change notification settings - Fork 68
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
Pass multiple metrics into the optimizer #723
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
motus
added
ready for review
Ready for review
and removed
WIP
Work in progress - do not merge yet
labels
Mar 23, 2024
This was referenced Mar 26, 2024
bpkroth
reviewed
Apr 22, 2024
bpkroth
approved these changes
Apr 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. LGTM. Thanks!
bpkroth
added a commit
that referenced
this pull request
Apr 30, 2024
* [x] Update JSON schema to use `"optimizer_target": {"score": "min"}` format * [x] Update base Optimizer class to use the new config format (throw `NotImplementedError` if > 1 target) * [x] Modify all unit tests to use the new format Part of #692 Merge after #723 --------- Co-authored-by: Brian Kroth <bpkroth@users.noreply.github.com>
motus
added a commit
that referenced
this pull request
May 9, 2024
* [x] Store multiple optimization targets and directions in base `Optimizer` class * [x] Support multiple optimization targets in mock and grid search optimizers * [x] Check for single objective in `MlosCoreOptimizer` class (will add support for multiple objectives after implementing that feature in `mlos_core` in subsequent PRs) * [x] Update unit tests in mlos_bench Merge after ~#723~ and ~#725~ --------- Co-authored-by: Brian Kroth <bpkroth@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We will need this for multi-objective optimization as well as for training the optimizers that can take muti-dimensional input
Storage.Experiment.load()
return multiple scoresOptimizer.register()
and.bulk_register()
take multi-dimensional trial scoresNOTE: In this PR, we do not change mlos_core: we will still pass a single scalar into it and do not change the API on mlos_core side. We will change mlos_core in the subsequent PR to minimize the diff.
Part of #692