MATLAB Answers

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

3 views (last 30 days)
James Finley
James Finley on 15 Jan 2019
Commented: 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.

Accepted Answer

Don Mathis
Don Mathis on 16 Jan 2019
Edited: Don Mathis on 16 Jan 2019
bayesopt uses fitrgp to fit the GP models, which assumes constant noise everywhere.


James Finley
James Finley on 17 Jan 2019
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.

More Answers (1)

Resul Al
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

Don Mathis
Don Mathis on 17 Jan 2019
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.

Sign in to answer this question.