-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add search space class for BayesOpt #355
Add search space class for BayesOpt #355
Conversation
Added an `AbstractSearchSpace` abstract base class for the BayesOpt library, as well as a concrete implementation in the form of a `ContinuousSearchSpace` class. Tests have also been added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. Just a couple comments
- Check that `lower_bounds` and `upper_bounds` are of same dtype. - Allow some dimensions of `lower_bounds` to be equal to `upper_bounds` as users may wish to keep certain dimensions fixed.
@henrymoss @Thomas-Christie - do we want the target branch of this PR to be |
@thomaspinder we have a working full version of BO that we like now in another branch. I jsut suggested to Thomas that he chopped it up into a few manageable bits, e.g. just the search space PR |
Yes @thomaspinder, @henrymoss and I decided we'd split up PR #338 into a few fully tested PRs for ease of review. I'm happy to just merge into |
Will merge this PR onto the |
Added an
AbstractSearchSpace
abstract base class for the BayesOpt library, as well as a concrete implementation in the form of aContinuousSearchSpace
class. Tests have also been added.Type of changes
Checklist
poetry run pre-commit run --all-files --show-diff-on-failure
before committing.Description
Starting to add fully tested Bayesian Optimisation functionality. This first PR adds a class for defining (and sampling from) search spaces, over which optimisation is performed.
Issue Number: N/A