struct gpr_bq_fit_report_t¶
Overview¶
Result of a Bayesian quadrature hyperparameter fit (ABI 1.17). More…
#include <gpr/capi/gpridge_c.h>
struct gpr_bq_fit_report_t {
// fields
double objective;
double log_determinant;
double quadratic;
double signal_variance;
double noise_variance;
int n_lengthscales;
int optimizer_iterations;
int failed_trials;
};
Detailed Documentation¶
Result of a Bayesian quadrature hyperparameter fit (ABI 1.17).
The first seven fields are those of gpr_marginal_likelihood_report_t, in the same order and meaning: objective is prior-free, (n*log(2*pi) + log_determinant + quadratic)/2, and optimizer_iterations counts objective evaluations. failed_trials counts the trial points of the optimization whose posterior could not be built (a covariance that did not factor, or a non-positive leave-one-out precision). Each scored as an infinite objective so the optimizer backed away. A fit in which every trial failed is an error (GPR_ERR_OPTIMIZER), never a report. The value is 0 for a treatment without an optimizer (Fixed, or a marginalization that only evaluates a grid).