pymc.gp.cov.Linear#

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

The Linear kernel.

\[k(x, x') = (x - c)(x' - c)\]

Methods

Linear.__init__(input_dim, c[, active_dims])

Linear.diag(X)

Linear.full(X[, Xs])

Attributes

n_dims

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