# pymc.gp.cov.Matern52#

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

The Matern kernel with nu = 5/2.

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

Methods

 Matern52.__init__(input_dim[, ls, ls_inv, ...]) Matern52.full(X[, Xs]) The power spectral density for the Matern52 kernel is:

Attributes

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