MATLAB Answers


How does bayesopt fit a Gaussian process regression model to noisy data?

Asked by James Finley on 15 Jan 2019
Latest activity Commented on by Don Mathis on 17 Jan 2019
I am using bayesopt to optimise a non-deterministic objective function. I have set the ‘IsObjectiveDeterministic’ input argument to ‘false’, to reflect the stochastic nature of my objective function. My objective function features different levels of noise, depending on the input that is applied to the model.
My question is, does the Gaussian process regression model used in bayesopt assume a constant variance on the noise applied to objective function, or does the GPR model use a non-identically distributed noise for different data points in the observed data? If the latter case is true, how is the noise estimated for different inputs?
Many thanks


Sign in to comment.

2 Answers

Answer by Don Mathis on 16 Jan 2019
Edited by Don Mathis on 16 Jan 2019
 Accepted Answer

bayesopt uses fitrgp to fit the GP models, which assumes constant noise everywhere.


Hi Don,
Many thanks for your response, you have have answered my question. I was also wondering how fitrgp estimates the variance for the noise in a non-determinisitc system?
Thank you

Sign in to comment.

Answer by Resul Al
on 17 Jan 2019

Hi Don,
Is there a way to make fitrgp to estimate heteroscedastic noise, i.e noise variance is not constant everywhere?
Thank you.

  1 Comment

fitrgp provides no built-in way to do that. It may be possible to do it with a custom kernel function, but I'm not sure.

Sign in to comment.