.. index:: pair: struct; gpr_marginal_likelihood_report_t .. _doxid-structgpr__marginal__likelihood__report__t: struct gpr_marginal_likelihood_report_t ======================================= .. toctree:: :hidden: Overview ~~~~~~~~ Prior-free marginal-likelihood fit result (ABI 1.13). :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct gpr_marginal_likelihood_report_t { // fields double :target:`objective`; double :target:`log_determinant`; double :target:`quadratic`; double :target:`signal_variance`; double :target:`noise_variance`; int :target:`n_lengthscales`; int :ref:`optimizer_iterations`; }; .. _details-structgpr__marginal__likelihood__report__t: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Prior-free marginal-likelihood fit result (ABI 1.13). ``:ref:`objective ``` is the selected Gaussian negative log marginal likelihood, including its normalization constant and no hyperparameter-prior term. ``:ref:`log_determinant ``` and ``:ref:`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 ------ .. index:: pair: variable; optimizer_iterations .. _doxid-structgpr__marginal__likelihood__report__t_1a325673fe9d8df25a0b0a7cab1c070919: .. ref-code-block:: cpp :class: doxyrest-title-code-block 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.