bayesopt() - where is the code for the Gaussian Proccess and kernel function?

1 回表示 (過去 30 日間)
Bob Hickish
Bob Hickish 2017 年 12 月 7 日
編集済み: Don Mathis 2017 年 12 月 8 日
Hi, I'm currently using bayesopt() and am interested in the Gaussian Process code it uses and the kernel function it calls. I've tried looking through the program files but can't find anything that is obviously the .m files containing the code for these.
Could anyone tell me what the files I need to look at are called?
Thanks, Bob

採用された回答

Don Mathis
Don Mathis 2017 年 12 月 8 日
編集済み: Don Mathis 2017 年 12 月 8 日
Search for 'fitrgp' inside BayesianOptimization.m. That's the GP function that is used. https://www.mathworks.com/help/stats/fitrgp.html The kernel function used in bayesopt is 'ardmatern52'. To see the other arguments passed, search for the calls to 'iFitrgpRobust', which is what calls fitrgp directly.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModel Building and Assessment についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by