Support of noise standard deviations specified for some points

For a common surrogate model construction problem, the user has only a set of points and corresponding target function values. Using this training data, a surrogate model is constructed. However, in some cases user can also provide variances of the target function values (output variances) for some points from the sample. GT Approx can handle such kind of information, as output variances are useful to construct a surrogate model of noisy functions.

This example demonstrates the usage of partly provided output variances with a model example. We compare surrogate models constructed with and without usage of output variances for a model function.

Problem statement and solution

Here one-dimensional model example is considered. Objective function is shown at the picture below


Note that in this example only highly noisy values of the target function are available.

  • To build a surrogate model, we need a training data, which is then passed to GT Approx builder.
  • True function is highly noisy. So it is undeliberate to pass the initial function values to GT Approx. Below we present an approach to proceed initial data, so we can pass it to GT Approx builder.
  • GT DoE is used to generate training points.
  • Then we evaluate the target function for each training point several times.
  • We estimate mean value and variance for each point with casual engineering routines.
  • We assume that output variances for some points are not available. To make the demonstration more efficient, output variances for some points are not considered as if they were not known at all, which makes the problem solution more complex.

Now we are ready to construct surrogate models with and without usage of output variances. We run GT Approx in both modes: first, only the points and corresponding target function values are used. At the second run, we use points, corresponding target function values and output variances for some of this points. Let’s compare the two resulting surrogate models.

The most reliable way to compare different surrogate models is to calculate errors of approximation for a separate test data , which consists of target function values in new points. This method is applied.


  • Using of output variances during surrogate model construction decreased errors from RRMS (Relative Root Mean Square Error) value 0.3650 to RRMS value 0.2127 by about 40%

The picture below  illustrates the obtained surrogate models approximations.


One can see that Accuracy Evaluation (uncertainty in the surrogate model prediction) is more accurate if partly specified output variances are used. It proves that using partly specified output variances is really efficient.