hops
|
#include <GaussianProcess.hpp>
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Compute the posterior mean and covariance for the given input. This method checks, if any data has changed before recomputing depending quantities, which makes it rather safe to call it before sampling or querying any posterior data
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sample from posterior at x
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Given an observation (x_i, y_i, eps_i) stored in *this, if there is an x_j in the argument x passed, s.t. x_i = x_j, then y_i := x_j and eps_i := y_j
All x_j and the respective y_j and eps_j from the passed arguments, which were not found in *this, will be stored in the reference arguments x, y and error.
The isUnique argument controls, whether x may be assumed to be unique in *this. If isUnique == true, then only the data at the first occurence of x_i in *this will be updated.