Skip to content

Implement TPE, improve BO implementation - #8

Merged
TheodoreWolf merged 3 commits into
mainfrom
theo/implement-tpe
Sep 30, 2026
Merged

TheodoreWolf merged 3 commits into
mainfrom
theo/implement-tpe

Conversation

@TheodoreWolf

Copy link
Copy Markdown
Owner

No description provided.

- Deduplicate TPE: inherit _write_observation_batch, fold the four
  continuous KDE branches into _transform/_untransform helpers, trim docs.
- tests/benchmarks.py: reusable objectives (sphere/ackley/rosenbrock) and a
  run() harness that drives any Optimizer via init/optimize_scan.
- tests/test_benchmarks.py: integration tests parametrized over OPTIMIZERS.
- BENCHMARKS.md: recorded regret + timing for random/bayesian/tpe.
@codecov

codecov Bot commented Sep 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.39907% with 48 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
tests/benchmarks.py 66.25% 26 Missing and 1 partial ⚠️
tests/test_timing.py 6.25% 15 Missing ⚠️
src/hyperoptax/tpe.py 96.77% 3 Missing and 3 partials ⚠️

📢 Thoughts on this report? Let us know!

@TheodoreWolf
TheodoreWolf merged commit 4283c30 into main Sep 30, 2026
3 of 4 checks passed
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.

1 participant