Add Thompson Sampling to ReAgent MAB and refactor the UCB classes and methods to unify#565
Closed
alexnikulkov wants to merge 1 commit intofacebookresearch:mainfrom
Closed
Add Thompson Sampling to ReAgent MAB and refactor the UCB classes and methods to unify#565alexnikulkov wants to merge 1 commit intofacebookresearch:mainfrom
alexnikulkov wants to merge 1 commit intofacebookresearch:mainfrom
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D31642370 |
Codecov Report
@@ Coverage Diff @@
## main #565 +/- ##
==========================================
+ Coverage 86.65% 86.69% +0.03%
==========================================
Files 337 339 +2
Lines 20955 21004 +49
Branches 44 44
==========================================
+ Hits 18159 18209 +50
+ Misses 2770 2769 -1
Partials 26 26
Continue to review full report at Codecov.
|
… methods to unify (facebookresearch#565) Summary: Pull Request resolved: facebookresearch#565 1. Add 2 Thompson sampling MAB algorithms: 1 for Bernoulli rewards, 1 for Normal rewards 2. Refactor UCB code so that Thompson sampling could reuse as much as possible Differential Revision: D31642370 fbshipit-source-id: f5f9e2227bef9b5caafee9c3894f494be0e9e1a5
f10936a to
70eea9b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D31642370 |
|
This pull request has been merged in 471defa. |
xuruiyang
pushed a commit
that referenced
this pull request
Sep 20, 2025
… methods to unify (#565) Summary: Pull Request resolved: #565 1. Add 2 Thompson sampling MAB algorithms: 1 for Bernoulli rewards, 1 for Normal rewards 2. Refactor UCB code so that Thompson sampling could reuse as much as possible Reviewed By: czxttkl Differential Revision: D31642370 fbshipit-source-id: c4447a22ad11e1bb9696cf269ea9f45523d22f28
This file contains hidden or 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
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.
Summary:
Differential Revision: D31642370