Mean Functions

Zero Zero mean function for Gaussian process.
Constant([c]) Constant mean function for Gaussian process.
Linear(coeffs[, intercept]) Linear mean function for Gaussian process.
class pymc3.gp.mean.Zero

Zero mean function for Gaussian process.

class pymc3.gp.mean.Constant(c=0)

Constant mean function for Gaussian process.

Parameters:c (variable, array or integer) – Constant mean value
class pymc3.gp.mean.Linear(coeffs, intercept=0)

Linear mean function for Gaussian process.

Parameters:
  • coeffs (variables) – Linear coefficients
  • intercept (variable, array or integer) – Intercept for linear function (Defaults to zero)