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

AnalyticExpectedUtilityOfBestOption input constructor uses pref_model.dim #1955

Closed
wants to merge 1 commit into from

Conversation

ItsMrLin
Copy link
Contributor

Summary: Make AnalyticExpectedUtilityOfBestOption input constructor uses pref_model.dim instead of model.num_outputs as the latter may also depend on the number of tasks for MTGPs. And example is a model list of MTGPs will have model.num_outputs = num_tasks * num_outcomes while we only want num_outcomes here.

Differential Revision: D47826495

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

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

@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #1955 (d92de66) into main (4516604) will not change coverage.
The diff coverage is 100.00%.

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

@@            Coverage Diff            @@
##              main     #1955   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          178       178           
  Lines        15747     15747           
=========================================
  Hits         15747     15747           
Files Changed Coverage Δ
botorch/acquisition/input_constructors.py 100.00% <100.00%> (ø)

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

ItsMrLin added a commit to ItsMrLin/botorch that referenced this pull request Jul 27, 2023
….dim (pytorch#1955)

Summary:
Pull Request resolved: pytorch#1955

Make AnalyticExpectedUtilityOfBestOption input constructor uses `pref_model.dim` instead of `model.num_outputs` as the latter may also depend on the number of tasks for MTGPs. And example is a model list of MTGPs will have `model.num_outputs = num_tasks * num_outcomes` while we only want `num_outcomes` here.

Differential Revision: D47826495

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

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

ItsMrLin added a commit to ItsMrLin/botorch that referenced this pull request Jul 27, 2023
….dim (pytorch#1955)

Summary:
Pull Request resolved: pytorch#1955

Make AnalyticExpectedUtilityOfBestOption input constructor uses `pref_model.dim` instead of `model.num_outputs` as the latter may also depend on the number of tasks for MTGPs. And example is a model list of MTGPs will have `model.num_outputs = num_tasks * num_outcomes` while we only want `num_outcomes` here.

Differential Revision: D47826495

fbshipit-source-id: 02160b20ea3b7777912662015b643918b2778a60
@facebook-github-bot
Copy link
Contributor

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

….dim (pytorch#1955)

Summary:
Pull Request resolved: pytorch#1955

Make AnalyticExpectedUtilityOfBestOption input constructor uses `pref_model.dim` instead of `model.num_outputs` as the latter may also depend on the number of tasks for MTGPs. And example is a model list of MTGPs will have `model.num_outputs = num_tasks * num_outcomes` while we only want `num_outcomes` here.

Differential Revision: D47826495

fbshipit-source-id: 11b64b1973e76aa32107ff1b5bacfc0891d575e4
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2e92571.

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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants