ezyrb.approximation.gpr.GPR.predict

GPR.predict(new_points, return_variance=False)[source]

Predict the mean and the variance of Gaussian distribution at given new_points.

Parameters:
  • new_points (array_like) – the coordinates of the given points.

  • return_variance (bool) – flag to return also the variance. Default is False.

Returns:

the mean and the variance

Return type:

(numpy.ndarray, numpy.ndarray)