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

Support risk measures in MOO input constructors #1401

Closed
wants to merge 2 commits into from

Conversation

saitcakmak
Copy link
Contributor

Summary: Minor modifications to support risk measures in EHVI and NEHVI input constructors. Instead of applying the full risk measure on the objective thresholds, we only apply the preprocessing function to make sure we remove all non-objective outcomes and align it correctly for maximization.

Differential Revision: D39494500

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Sep 14, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D39494500

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #1401 (5ae92fa) into main (d2117e2) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 5ae92fa differs from pull request most recent head a4f231f. Consider uploading reports for the commit a4f231f to get more accurate results

@@            Coverage Diff            @@
##              main     #1401   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          124       124           
  Lines        11344     11363   +19     
=========================================
+ Hits         11344     11363   +19     
Impacted Files Coverage Δ
botorch/acquisition/input_constructors.py 100.00% <100.00%> (ø)
...tion/multi_objective/multi_output_risk_measures.py 100.00% <100.00%> (ø)
botorch/acquisition/risk_measures.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

…ssing_function`. (pytorch#1400)

Summary:
Pull Request resolved: pytorch#1400

Deprecates the `weights` argument of risk measures in favor of a `preprocessing_function`. This is superior in that it allows better modification of the samples before computing the risk measures.

This supports use cases such as filtering non-objective outcomes or applying feasibility weighting all within the risk measure itself. As a result, it helps avoid a number of if/else blocks when implementing robust optimization support in Ax.

Differential Revision: https://internalfb.com/D39493308

fbshipit-source-id: 072d0a4c54de854106fa74db5e2ca2efa55d445a
Summary:
Pull Request resolved: pytorch#1401

Minor modifications to support risk measures in EHVI and NEHVI input constructors. Instead of applying the full risk measure on the objective thresholds, we only apply the preprocessing function to make sure we remove all non-objective outcomes and align it correctly for maximization.

Reviewed By: Balandat

Differential Revision: D39494500

fbshipit-source-id: 6bacd61f7a8a9257223f0a219d0bd6972d64769d
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D39494500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants