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

typing around ThompsonSampler and its subclasses #3252

Closed

Conversation

jelena-markovic
Copy link
Contributor

Summary:

  • Added types in ThompsonSampler and EBAshr.
  • Added warnings in ThompsonSampler and EBAshr when the objective is a multi-objective.
    Both ThompsonSampler and EBAshr currently handle multi-objective in the same way by multiplying the samples in the case of TS and shrunken estimates in the case of EBAshr with the objective weights that are +/-1 for metrics in the multi-objective. Given different scaling across metrics, multiplying the metric values with the +/-1 weights does not have a meaningful value.

Reviewed By: saitcakmak

Differential Revision: D68297261

Summary:
- Added types in ThompsonSampler and EBAshr.
- Added warnings in ThompsonSampler and EBAshr when the objective is a multi-objective. 
Both ThompsonSampler and EBAshr currently handle multi-objective in the same way by multiplying the samples in the case of TS and shrunken estimates in the case of EBAshr with the objective weights that are +/-1 for metrics in the multi-objective. Given different scaling across metrics, multiplying the metric values with the +/-1 weights does not have a meaningful value.

Reviewed By: saitcakmak

Differential Revision: D68297261
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 17, 2025
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c3b8285.

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