Documentation of 'jsat.regression.OrdinaryKriging' Java class
OrdinaryKriging
jsat.regression

Class OrdinaryKriging

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Parameterized, Regressor


    public class OrdinaryKriging
    extends java.lang.Object
    implements Regressor, Parameterized
    An implementation of Ordinary Kriging with support for a uniform error measurement. When an error value is applied, Kriging becomes equivalent to Gaussian Processes Regression.
    See Also:
    Serialized Form
    • Constructor Detail

      • OrdinaryKriging

        public OrdinaryKriging(OrdinaryKriging.Variogram vari,
                               double error,
                               double nugget)
        Creates a new Ordinary Kriging.
        Parameters:
        vari - the variogram to fit to the data
        error - the global measurement error
        nugget - the nugget value to add to the variogram
      • OrdinaryKriging

        public OrdinaryKriging(OrdinaryKriging.Variogram vari,
                               double error)
        Creates a new Ordinary Kriging
        Parameters:
        vari - the variogram to fit to the data
        error - the global measurement error
      • OrdinaryKriging

        public OrdinaryKriging(OrdinaryKriging.Variogram vari)
        Creates a new Ordinary Kriging with a small error value
        Parameters:
        vari - the variogram to fit to the data
      • OrdinaryKriging

        public OrdinaryKriging()
        Creates a new Ordinary Kriging with a small error value using the power variogram.
    • Method Detail

      • setMeasurementError

        public void setMeasurementError(double error)
        Sets the measurement error used for Kriging, which is equivalent to altering the diagonal values of the covariance. While the measurement errors could be per data point, this implementation provides only a global error. If the error is set to zero, it will perfectly interpolate all data points.
        Increasing the error smooths the interpolation, and has a large impact on the regression results.
        Parameters:
        error - the measurement error for all data points
      • getMeasurementError

        public double getMeasurementError()
        Returns the measurement error used for Kriging, which is equivalent to altering the diagonal values of the covariance. While the measurement errors could be per data point, this implementation provides only a global error. If the error is set to zero, it will perfectly interpolate all data points.
        Returns:
        the global error used for the data
      • setNugget

        public void setNugget(double nugget)
        Sets the nugget value passed to the variogram during training. The nugget allows the variogram to start from a non-zero value, and is equivalent to alerting the off diagonal values of the covariance.
        Altering the nugget value has only a minor impact on the output
        Parameters:
        nugget - the new nugget value
        Throws:
        java.lang.ArithmeticException - if a negative nugget value is provided
      • getNugget

        public double getNugget()
        Returns the nugget value passed to the variogram during training. The nugget allows the variogram to start from a non-zero value, and is equivalent to alerting the off diagonal values of the covariance.
        Returns:
        the nugget added to the variogram

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.