means package

means package#

In tinygp, the Gaussian process mean function can be defined using any callable object, but this submodule includes two helper classes for defining means. When defining your own mean function, it’s important to remember that your callable should accept as input a single input coordinate (i.e. not a vector of coordinates), and return the scalar value of the mean at that coordinate. tinygp will handle all the relevant vmap-ing and broadcasting.

Mean(value)

A wrapper for the GP mean which supports a constant value or a callable

Conditioned(X, alpha, kernel, include_mean)

The mean of a process conditioned on observed data