experimental-design / bofire

Experimental design and (multi-objective) bayesian optimization.
https://experimental-design.github.io/bofire/
BSD 3-Clause "New" or "Revised" License
208 stars 22 forks source link

change seed behavior #276

Closed jduerholt closed 1 year ago

jduerholt commented 1 year ago

This PR changes the behavior of handling random seeds in bofire. Before, when no seed was provided, a seed was generated in the data model. This is problematic, as when the user does not want to use a seed and the data model is stored in some backend, always the same seed is used and the same candidates are generated.

The new behavior allows now for None values and generates the seed just in the functional model when no seed is provided orginally.