pymc.gp.cov.Polynomial#

class pymc.gp.cov.Polynomial(input_dim, c, d, offset, active_dims=None)[source]#

The Polynomial kernel.

\[k(x, x') = [(x - c)(x' - c) + \mathrm{offset}]^{d}\]

Methods

Polynomial.__init__(input_dim, c, d, offset)

Polynomial.diag(X)

Polynomial.full(X[, Xs])

Attributes

n_dims

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