Class KrigingInterpolation1D

java.lang.Object
smile.interpolation.KrigingInterpolation1D
All Implemented Interfaces:
Serializable, Interpolation

public class KrigingInterpolation1D extends Object implements Interpolation
Kriging interpolation for the data points irregularly distributed in space. Kriging belongs to the family of linear least squares estimation algorithms, also known as Gauss-Markov estimation or Gaussian process regression. This class implements ordinary kriging for interpolation with power variogram.
See Also:
  • Constructor Details

    • KrigingInterpolation1D

      public KrigingInterpolation1D(double[] x, double[] y)
      Constructor. The power variogram is employed for interpolation.
      Parameters:
      x - the tabulated points.
      y - the function values at x.
    • KrigingInterpolation1D

      public KrigingInterpolation1D(double[] x, double[] y, double beta)
      Constructor. The power variogram is employed for interpolation.
      Parameters:
      x - the tabulated points.
      y - the function values at x.
      beta - the parameter of power variogram. The value of β should be in the range 1 <= β < 2. A good general choice is 1.5, but for functions with a strong linear trend, we may experiment with values as large as 1.99.
  • Method Details

    • interpolate

      public double interpolate(double x)
      Description copied from interface: Interpolation
      Given a value x, return an interpolated value.
      Specified by:
      interpolate in interface Interpolation
      Parameters:
      x - a real number.
      Returns:
      the interpolated function value.
    • toString

      public String toString()
      Overrides:
      toString in class Object