Description Usage Arguments Details Value
Basic regression in Gaussian processes
1 2 |
x |
Observed x values, (vector or matrix with columns for each dimension of data) |
y |
Vector of observed y values in the training data |
init_pars |
the initial guesses for lengthscale l and process noise sigma_n |
n |
iterations of the metropolis algorithm |
d.p |
parameters for the length-scale prior, as an inverse Gamma distribution |
s2.p |
parameters for the noise prior, as an inverse Gamma distribution |
Currently assumes the covariance function. By default we will use the squared exponential (also called radial basis or Gaussian, though it is not this that gives Gaussian process it's name; any covariance function would do) as the covariance function,
the MCMC output, as constructed by metrop from the mcmc package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.