This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Suggestion: refactor acquisition.py to a class structure #42
Labels
enhancement
New feature or request
Currently, every acquisition function in
acquisition.py
is a function. I think these objects will function better as classes since they take a lot of common arguments and also share a common abstraction. In addition, it will make the campaigning in #33 much more straightforward. For example, while certain acquisition functions require different things (EI requiresbest_f
whereas UCB requiresbeta
), they could all have a common function, maybeupdate_as_function_of_data_and_observations
that calculatesbest_f
for EI and does nothing for UCB, allowing for extension to more complex acquisition functions later.I will implement this as a backwards-compatible feature for #33 but I definitely think you should consider making this change!
The text was updated successfully, but these errors were encountered: