struct gpr::ski::DSkipReport¶
Overview¶
D-SKIP: the ARD kernel is a product over dimensions, and the product of two low-rank factors is compressed back to low rank by Lanczos. More…
#include <gpr/ml/gp/DerivativeSKI.h>
struct DSkipReport {
// fields
std::vector<Eigen::Index> rank_after_product;
double relative_error = 0.0;
Eigen::Index exact_rank = 0;
bool rank_bounded = false;
};
Detailed Documentation¶
D-SKIP: the ARD kernel is a product over dimensions, and the product of two low-rank factors is compressed back to low rank by Lanczos.
The report is the point. A product kernel keeps a useful low-rank representation only if the rank needed after each multiply stays bounded; on a flat spectrum it does not, and rankAfterEachProduct() shows where it stops being cheaper than the exact matrix.
Fields¶
std::vector<Eigen::Index> rank_after_product
one entry per dimension
double relative_error = 0.0
against the exact product
Eigen::Index exact_rank = 0
numerical rank of the exact matrix
bool rank_bounded = false
did the rank stay below the matrix size