pymc.gp.cov.Matern32#

class pymc.gp.cov.Matern32(input_dim, ls=None, ls_inv=None, active_dims=None)[source]#

The Matern kernel with nu = 3/2.

\[k(x, x') = \left(1 + \frac{\sqrt{3(x - x')^2}}{\ell}\right) \mathrm{exp}\left[ - \frac{\sqrt{3(x - x')^2}}{\ell} \right]\]

Methods

Matern32.__init__(input_dim[, ls, ls_inv, ...])

Matern32.diag(X)

Matern32.euclidean_dist(X, Xs)

Matern32.full(X[, Xs])

Matern32.full_from_distance(dist[, squared])

Matern32.power_spectral_density(omega)

Power spectral density for the Matern32 kernel.

Matern32.square_dist(X, Xs)

Attributes

n_dims

The dimensionality of the input, as taken from the active_dims.