Commit a6697aa
authored
Acquisition function API redesign (#447)
* Redesign the acquisition function API
* Add async optimization w/ kriging believer example
* Use `typing.Union` instead of `|`
* Add ConstantLiar, fix bugs, reran code
* Fix typo
* Slight changes, add many tests
* Add `base_acq` `ThompsonSampling`, fix a bug in `KrigingBeliever`
* Clean code, add docstrings
* add tests, rm kriging believer, dont use gp hedge as default
* Use `self.base_acq` instead of supplying it as an argument to `._get_acq`
* Add special exceptions covering too few registered points
* Notebook to showcase acquisition functions
* Linting, code style
* Drop references to believer from script
* Delete deprecated parameters from `suggest`
* Use `abc.ABC` for acquisition base class
* Add more tests
* Fix type signature breaking Python 3.9
* Trigger CI
* Clean docstring1 parent 48e4816 commit a6697aa
File tree
16 files changed
+2096
-760
lines changed- bayes_opt
- examples
- tests
16 files changed
+2096
-760
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments