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

Bernoulli Target and Bernoulli Multi-Armed Bandit Surrogate #231

Closed

Conversation

julianStreibel
Copy link
Collaborator

  • Added a bernoulli target class with just an identity transformation for now
  • Added a bernoulli multi-armed bandit surrogate with a beta prior
  • Added an example optimizing a bernoulli multi-armed bandit

@CLAassistant
Copy link

CLAassistant commented May 4, 2024

CLA assistant check
All committers have signed the CLA.

@AdrianSosic
Copy link
Collaborator

Hi @julianStreibel, awesome that you already drafted it 🥇 Let's sit together on Monday and talk about what needs to be changed and remaining things to be modified 👌

@AVHopp @Scienfitz: I'be talked to Julian about this feature last week already. Let me have a first iteration with him before we go into the regular review since I would like to discuss the general direction of this PR with him first ✌️

@AVHopp
Copy link
Collaborator

AVHopp commented May 7, 2024

@AdrianSosic @julianStreibel would you mind making this a Draft PR until the two of you are done with the first iteration? Would make it a bit easier for me and @Scienfitz to check when "proper" PR reviews should start :)

@AdrianSosic AdrianSosic marked this pull request as draft May 7, 2024 06:26
@@ -186,6 +191,9 @@ def add_fake_results(

# Add the fake data for each target
for target in campaign.targets:
if isinstance(target, BinaryTarget):
data[target.name] = np.random.choice([0, 1])
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use target.accepted_values

@AdrianSosic AdrianSosic mentioned this pull request May 13, 2024
AdrianSosic added a commit that referenced this pull request May 14, 2024
This PR moves our priors from `baybe.kernels.priors` to `baybe.priors`
since they can be used in general non-kernel contexts, for instance, as
in #231.
@Scienfitz Scienfitz added the new feature New functionality label Jul 16, 2024
@AdrianSosic AdrianSosic added the on hold PR progress is awaiting for something else to continue label Jul 24, 2024
@@ -0,0 +1 @@
"""Multi-armed bandit examples."""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@julianStreibel @AdrianSosic just sharing the following ICML paper here with you in case this is interesting for this or a future PR in this direction: https://proceedings.mlr.press/v235/jun24a.html

@AdrianSosic
Copy link
Collaborator

Closed in favor of #343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New functionality on hold PR progress is awaiting for something else to continue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants