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.
|
A wrapper for the GP mean which supports a constant value or a callable |
|
The mean of a process conditioned on observed data |