Make Bayesian Optimization (bayesopt) model positive
Ältere Kommentare anzeigen
I am using bayesopt to minimize a function which can only give positive results. However, when bayesopt finishes it gives a best objective function estimate which is negative. Is there a way to enforce objective function model to be positive? I have tried coupled constraints and it didn't seem to work. Thanks
Akzeptierte Antwort
Weitere Antworten (1)
Don Mathis
am 10 Nov. 2017
0 Stimmen
Just to add to Alan's answer, bayesopt uses a Gaussian Process model to model the objective function, and Gaussian processes are inherently unbounded: The posterior distribution over Y at a given X is a Gaussian distribution. Often you can use this effectively for bounded functions (e.g., if your function value never gets close to zero), but if you want to be rigorous, you should transform your objective function into one which is unbounded. Optimizing log(y) is one way.
Kategorien
Mehr zu Model Building and Assessment finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!