Classes | |
| struct | VecchiaResult |
| What the approximation produced, and what it cost. More... | |
Functions | |
| Eigen::MatrixXd | jointBlock (const Eigen::VectorXd &a, const Eigen::VectorXd &b, double lengthscale) |
| The joint value/gradient kernel block between two points, (1+d) x (1+d). | |
| std::vector< std::vector< int > > | nearestPredecessors (const Eigen::MatrixXd &points, int max_neighbours) |
| VecchiaResult | evaluate (const Eigen::MatrixXd &points, const Eigen::VectorXd &y, double lengthscale, double noise, int max_neighbours) |
| VecchiaResult | evaluateExact (const Eigen::MatrixXd &points, const Eigen::VectorXd &y, double lengthscale, double noise) |
|
nodiscard |
Evaluate the Vecchia log-likelihood pieces for a gradient-enhanced SE-ARD GP.
points is n x d. y is the stacked observation vector of length n(d+1) laid out point-major: for point i, one value followed by its d gradient components. noise is added to the diagonal.
With max_neighbours >= n-1 this is exact.
Definition at line 105 of file DerivativeVecchia.cpp.
|
nodiscard |
The exact joint quantities, for comparison. Builds the full n(d+1) matrix, so it exists to validate evaluate, not to be used beside it.
Definition at line 172 of file DerivativeVecchia.cpp.
|
nodiscard |
The joint value/gradient kernel block between two points, (1+d) x (1+d).
Definition at line 15 of file DerivativeVecchia.cpp.
|
nodiscard |
Neighbour sets over POINTS (not rows): entry i lists the predecessors of point i, nearest first, at most max_neighbours of them.
Definition at line 76 of file DerivativeVecchia.cpp.