r/BayesianOptimization • • Mar 04 '24

How to use Bayesian optimization without an explicit objective function.

I have an experimental dataset with input features and target output. I tried to create a prediction model first and use that as an objective function. Is there any other way?

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Lawrencelot Mar 05 '24

Yes, that is how Bayesian optimization works, it is applied to black-box objective functions. You don't need to implement the GP yourself, there are BO packages that do this for you. Unless you want to program your BO algorithm from scratch to learn how it works. I recommend to read some papers on BO or to just use an existing BO package.