enum gpr::ScgCurvatureMode

Overview

Selects how SCG computes the directional curvature term. More…

#include <Structures.h>
 
enum ScgCurvatureMode {
    EXACT               = 0,
    FINITE_DIFFERENCE   = 1,
    NLML_HESSIAN_VECTOR = 2,
};

Detailed Documentation

Selects how SCG computes the directional curvature term.

EXACT uses the closed-form analytic curvature derived from the squared exponential covariance + Cholesky factor. FINITE_DIFFERENCE uses a sigma-perturbation probe. NLML_HESSIAN_VECTOR (opt-in) takes the curvature of SCG, of the length-scale tie screen and of the stationarity check from the exact Hessian-vector product of the Gaussian negative log marginal likelihood. Where that product does not exist or fails, each takes the FINITE_DIFFERENCE path, with a log line.