- Notifications
You must be signed in to change notification settings - Fork1.6k
PermalinkChoose a base ref {{ refName }}default Choose a head ref {{ refName }}default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:bayesian-optimization/BayesianOptimization
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
base:v2.0.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
...
head repository:bayesian-optimization/BayesianOptimization
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
compare:v3.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
- 16commits
- 43files changed
- 5contributors
Commits on Dec 27, 2024
* WIP* Add ML example* Save for merge* Update* Parameter types more (#13)* fix: import error from exception module (#525)* fix: replace list with sequence (#524)* Fix min window type check (#523)* fix: replace dict with Mapping* fix: replace list with Sequence* fix: add type hint* fix: does not accept None* Change docs badge (#527)* fix: parameter, target_space* fix: constraint, bayesian_optimization* fix: ParamsType---------Co-authored-by: till-m <36440677+till-m@users.noreply.github.com>* Use `.masks` not `._masks`* User `super` to call kernel* Update logging for parameters* Disable SDR when non-float parameters are present* Add demo script for typed optimization* Update parameters, testing* Remove sorting, gradient optimize only continuous params* Go back to `wrap_kernel`* Update code* Remove `tqdm` dependency, use EI acq* Add more text to typed optimization notebook.* Save files while moving device* Update with custom parameter type example* Mention that parameters are not sorted* Change array reg warning* Update Citations, parameter notebook---------Co-authored-by: phi-friday <phi.friday@gmail.com>
Commits on Feb 27, 2025
upgrade poetry2.0 & apply pep621 (#545)
* chore: upgrade poetry2.0 & apply pep621* fix: replace poetry action(not support 2.0)* fix: exclude one matrix* chore: split numpy deps* fix: numpy constraints* fix: install root* chore: use install-poetry
Commits on Mar 13, 2025
Commits on Mar 17, 2025
Add logging with state to Bayesian Optimizer (#547)
* Add functionality to save and load state of the BayesianOptimization* Update basic-tour with new save and load functionality* move load stateful path to optional argument in class instantiation* add test for string params, update tests with new load functionality* updated basic tour with updated paths* add the random state to the set of things to list of saved items* move state loading to separate function, add functionality for saving acquisition function state* use new loading schema* update tests, add integration tests for saving and loading acquisition functions* undo abstractmethod implementation for get and set state saving functionality* reorganize state saving and loading for consistency* move integration tests into acquisition* remove unndecessary test, add tests for domain reduction and custom parameters* make test more comprehensive* add test logs* sync execution counts from basic tour* linting, whitespace removal, import structuring* ruff fix for string literal in error message* fix ruff complaints* make all side param comparisons almost equal to account for slight numpy differences* reformat array comparison check* upgrade poetry2.0 & apply pep621 (#545)* chore: upgrade poetry2.0 & apply pep621* fix: replace poetry action(not support 2.0)* fix: exclude one matrix* chore: split numpy deps* fix: numpy constraints* fix: install root* chore: use install-poetry* Fix coverage report (#552)* remove unnecessary files, have acquisition baseclass functions raise errors* remove duplicate acquisition functions random state* ruff format* add type hints for base acquisition get/set functions* remove noreturn* remove former saving functionality from notebooks* increase legibility of custom acquisition example* explicitly stating the optionality of the saving and loading in custom acq functions---------Co-authored-by: phi-friday <phi.friday@gmail.com>Co-authored-by: till-m <36440677+till-m@users.noreply.github.com>
Commits on Apr 22, 2025
Replace event based logging (#557)
* remove observable pattern, jsonlogger, and any use of events* update notebooks to new logging system* update tests for new logging system* make ruff formatting tests pass* add tests for the screen logger class* pass in logger function arguments seperately* add tests to check params_config implementation* remove unnecessary attribute descriptions, move params_config to function argument* make verbosity level check explicit* format negative scientific notation correctly* use ternary operator to make computer happy* format parameter values correctly
Commits on May 7, 2025
Differential evolution acq optimization (#549)
* Update acquisition.py* Update acquisition.pyCode linter optimisation with Ruff* Update acquisition.pyComputational-efficiency of the MIP identification increased* Update acquisition.pyLinter improved* Update acquisition.py* Rename minimization methods for clarity and update tests accordingly* Refactor differential evolution import and optimize acquisition function* Modification to differential evolution solver integration and refine continuous parameter search* Refactor DifferentialEvolutionSolver initialization to support scipy version compatibility* Removes fixed algorithm for acquisition function minimization and applies kernel transformation to x_min* Fixing formatting issue
Commits on Jun 3, 2025
* Fix acq min bug* Update docs, make `random_state` not a property of acqs* fix giving bad seeds to l-bfgs-b* remove debug code* Relax constraint.approx test slightly* GPHedge: ensure random state* nitpick fixes* Make constraints work with parameter types* Use `deepcopy` when copying constraint in `ConstantLiar`* Move the instantiation of `ConstraintModel`* Update warning* remove unnecessary random state storing* Remove unnecessary import* Add a `.random_sample` function to the optimizer
Commits on Jun 7, 2025
more code cleaning/polishing (#571)
* Fix acq min bug* Update docs, make `random_state` not a property of acqs* fix giving bad seeds to l-bfgs-b* remove debug code* Relax constraint.approx test slightly* GPHedge: ensure random state* nitpick fixes* Make constraints work with parameter types* Use `deepcopy` when copying constraint in `ConstantLiar`* Move the instantiation of `ConstraintModel`* Update warning* remove unnecessary random state storing* Remove unnecessary import* Add a `.random_sample` function to the optimizer* Fix types, refactor some test code* Use AE spelling* Remove unnecessary `extra_kwargs`
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff v2.0.3...v3.0.0
Uh oh!
There was an error while loading.Please reload this page.