Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn 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
base: v2.0.3
Choose a base ref
...
head repository: bayesian-optimization/BayesianOptimization
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.0
Choose a head ref
  • 16 commits
  • 43 files changed
  • 5 contributors

Commits on Dec 27, 2024

  1. Typed Optimization (#531)

    * 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 <[email protected]>
    
    * 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 <[email protected]>
    till-m and phi-friday authored Dec 27, 2024
    Configuration menu
    Copy the full SHA
    0ef608f View commit details
    Browse the repository at this point in the history
  2. bump version (#539)

    * bump version
    
    * Update pyproject.toml
    till-m authored Dec 27, 2024
    Configuration menu
    Copy the full SHA
    dc6f251 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. 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
    phi-friday authored Feb 27, 2025
    Configuration menu
    Copy the full SHA
    232f9d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2025

  1. Fix coverage report (#552)

    till-m authored Mar 9, 2025
    Configuration menu
    Copy the full SHA
    26ee72a View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2025

  1. Drop repr call (#554)

    till-m authored Mar 13, 2025
    Configuration menu
    Copy the full SHA
    a4103ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa9d018 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2025

  1. 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 <[email protected]>
    Co-authored-by: till-m <[email protected]>
    3 people authored Mar 17, 2025
    Configuration menu
    Copy the full SHA
    626aafe View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2025

  1. 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
    adrianmolzon authored Apr 22, 2025
    Configuration menu
    Copy the full SHA
    8e19dc8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1714504 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2025

  1. Configuration menu
    Copy the full SHA
    9a464f2 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2025

  1. Fix formatting (#562)

    Gerrit0 authored Apr 29, 2025
    Configuration menu
    Copy the full SHA
    25ba6ed View commit details
    Browse the repository at this point in the history

Commits on May 7, 2025

  1. Differential evolution acq optimization (#549)

    * Update acquisition.py
    
    * Update acquisition.py
    
    Code linter optimisation with Ruff
    
    * Update acquisition.py
    
    Computational-efficiency of the MIP identification increased
    
    * Update acquisition.py
    
    Linter 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
    udicaprio authored May 7, 2025
    Configuration menu
    Copy the full SHA
    c59cb64 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2025

  1. Fix acq min bug (#564)

    till-m authored May 19, 2025
    Configuration menu
    Copy the full SHA
    2c78f7c View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2025

  1. polish & clean code (#566)

    * 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
    till-m authored Jun 3, 2025
    Configuration menu
    Copy the full SHA
    f6cde7f View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2025

  1. 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`
    till-m authored Jun 7, 2025
    Configuration menu
    Copy the full SHA
    793bbf8 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2025

  1. bump version (#572)

    till-m authored Jun 10, 2025
    Configuration menu
    Copy the full SHA
    8e7a286 View commit details
    Browse the repository at this point in the history
Loading