Skip to content

Easier interface with `Strategy.make`

Latest
Compare
Choose a tag to compare
@bertiqwerty bertiqwerty released this 02 Jun 14:16
· 5 commits to main since this release
5e3a19e

This release contains a major interface simplification. A strategy can now be instantiated via

from bofire.strategies.api import SoboStrategy
sobo = SoboStrategy.make(domain=domain)

Of course, the old way still works to keep the separation between data models and functionality possible:

import bofire.strategies.api as strategies
from bofire.data_models.strategies.api import SoboStrategy as DataModel
data_model = DataModel(domain=domain)
sobo = strategies.map(data_model)

Further note that we have now a GA based optimizer for acquisition functions, see this tutorial.

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0