For Bayesian optimisation performed by the function "bayesobt", how can I change the covariance function? and how to change its hyper-parameters, i.e. Length scale and signal variance?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
For Bayesian optimisation performed by the function "bayesobt", how can I change the covariance function? and how to change its hyper-parameters, i.e. Length scale and signal variance?
0 commentaires
Réponses (1)
Don Mathis
le 30 Mai 2018
You can change the KernelFunction used in the GP that models the objective function. To do that, you will need to edit the source code. Make sure you have write permissions on your MATLAB files, or if using Windows, start MATLAB by right-clicking on it and choosing "Run as administrator".
In MATLAB, type
edit BayesianOptimization.fitObjectiveFcnGP
Then modify the 3 calls to 'iFitrgpRobust' in that function to pass something other than 'ardmatern52' as the 'KernelFunction' argument. Refer to the documentation for 'fitrgp' for options.
The hyperparameters of the GP model are determined during fitting of the model. That's what makes GP models Bayesian.
0 commentaires
Voir également
Catégories
En savoir plus sur Gaussian Process Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!