Skip to content

Add previous winner support to qEUBO#3157

Open
mytkymt wants to merge 1 commit intometa-pytorch:mainfrom
mytkymt:use-previous-winner-qeubo
Open

Add previous winner support to qEUBO#3157
mytkymt wants to merge 1 commit intometa-pytorch:mainfrom
mytkymt:use-previous-winner-qeubo

Conversation

@mytkymt
Copy link
Contributor

@mytkymt mytkymt commented Jan 28, 2026

Motivation

I want to use EUBO with a previous_winner while also applying a posterior_transform (e.g., a weighted sum).
There were two options:

  • add posterior_transform to AnalyticEUBO
  • add previous_winner to qEUBO.

AnalyticEUBO doesn’t naturally support posterior_transform because it assumes a single‑output preference model, while qEUBO already accepts posterior_transform and can follow the same previous_winner handling as in AnalyticEUBO. So I added previous_winner support in qExpectedUtilityOfBestOption to enable that workflow.

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

I have conducted tests here:
test_preference.py
test_input_constructors.py

Related PRs

N/A

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 28, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant