Skip to content

bayesian-optimizer #602

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

spline2hg
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Jun 8, 2025

Codecov Report

Attention: Patch coverage is 79.04762% with 22 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/optimagic/optimizers/bayesian_optimizer.py 75.90% 20 Missing ⚠️
src/optimagic/config.py 60.00% 2 Missing ⚠️

❌ Your patch check has failed because the patch coverage (79.04%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Files with missing lines Coverage Δ
src/optimagic/algorithms.py 86.02% <100.00%> (+0.08%) ⬆️
src/optimagic/config.py 70.12% <60.00%> (+0.68%) ⬆️
src/optimagic/optimizers/bayesian_optimizer.py 75.90% <75.90%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@janosg janosg left a comment

Choose a reason for hiding this comment

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

Hi @spline2hg, thanks for the great PR.

The PR is quite good already but I have made many small comments about the code style.

I'm happy to talk if there are questions.

- "ucb" or "upper_confidence_bound": Upper Confidence Bound
- "ei" or "expected_improvement": Expected Improvement
- "poi" or "probability_of_improvement": Probability of Improvement
Default is None (uses package default).
Copy link
Member

Choose a reason for hiding this comment

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

What is the package default?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

UpperConfidenceBound if no constraints are passed; otherwise ExpectedImprovement.

Copy link
Member

Choose a reason for hiding this comment

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

Then please add that information to the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants