public class GaussianProcessRegression.JointPrediction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
smile.math.matrix.Matrix |
cov
The covariance matrix of joint predictive distribution at query points.
|
double[] |
mu
The mean of predictive distribution at query points.
|
double[] |
sd
The standard deviation of predictive distribution at query points.
|
T[] |
x
The query points where the GP is evaluated.
|
Constructor and Description |
---|
JointPrediction(T[] x,
double[] mu,
double[] sd,
smile.math.matrix.Matrix cov)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
sample(int n)
Draw samples from Gaussian process.
|
java.lang.String |
toString() |
public final T[] x
public final double[] mu
public final double[] sd
public final smile.math.matrix.Matrix cov
public JointPrediction(T[] x, double[] mu, double[] sd, smile.math.matrix.Matrix cov)