struct gpr_marginal_likelihood_report_t¶
Overview¶
Prior-free marginal-likelihood fit result (ABI 1.13). More…
#include <gpr/capi/gpridge_c.h>
struct gpr_marginal_likelihood_report_t {
// fields
double objective;
double log_determinant;
double quadratic;
double signal_variance;
double noise_variance;
int n_lengthscales;
int optimizer_iterations;
};
Detailed Documentation¶
Prior-free marginal-likelihood fit result (ABI 1.13).
objective is the selected Gaussian negative log marginal likelihood, including its normalization constant and no hyperparameter-prior term. log_determinant and quadratic are the log determinant of the fitted training covariance and the fitted whitened-target squared norm in physical output coordinates, so objective = (n*log(2*pi) + log_determinant + quadratic)/2. Signal and noise variances are also in physical output units. Length scales are written separately by gpr_model_train_marginal_likelihood_checked.
Fields¶
int optimizer_iterations
Optimizer iterations of the fit: rgmin’s SCG steps plus the L-BFGS fallback steps that finish a stalled rgmin SCG fit. After a restarted marginal-likelihood fit the count covers both passes.