.. index:: pair: class; gpr::GeodesicCovarianceEvidence .. _doxid-classgpr_1_1_geodesic_covariance_evidence: class gpr::GeodesicCovarianceEvidence ===================================== .. toctree:: :hidden: Overview ~~~~~~~~ Exact type-II marginal-likelihood selection for the nonnegative amplitude of an additive geodesic covariance component. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class GeodesicCovarianceEvidence { public: // methods static double :ref:`selectWeight`(const Eigen::MatrixXd& base_covariance, const Eigen::MatrixXd& unit_geodesic_covariance, const Eigen::VectorXd& standardized_targets); static double :ref:`selectWeightFromFeatures`(const Eigen::MatrixXd& base_covariance, const Eigen::MatrixXd& unit_geodesic_features, const Eigen::VectorXd& standardized_targets); }; .. _details-classgpr_1_1_geodesic_covariance_evidence: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Exact type-II marginal-likelihood selection for the nonnegative amplitude of an additive geodesic covariance component. Methods ------- .. index:: pair: function; selectWeight .. _doxid-classgpr_1_1_geodesic_covariance_evidence_1acb33acc2bf61223faa63dd4f90a3a8ef: .. ref-code-block:: cpp :class: doxyrest-title-code-block static double selectWeight(const Eigen::MatrixXd& base_covariance, const Eigen::MatrixXd& unit_geodesic_covariance, const Eigen::VectorXd& standardized_targets) Select gamma >= 0 for K(gamma) = K_base + gamma K_geodesic. K_base contains the fitted atomistic covariance and likelihood noise. K_geodesic is the unit-weight joint energy-gradient covariance. Targets use the same standardized [E; G_col0; ...] order as both matrices. .. index:: pair: function; selectWeightFromFeatures .. _doxid-classgpr_1_1_geodesic_covariance_evidence_1a47d6c5afb70aabe681a0b3169aff0c0f: .. ref-code-block:: cpp :class: doxyrest-title-code-block static double selectWeightFromFeatures(const Eigen::MatrixXd& base_covariance, const Eigen::MatrixXd& unit_geodesic_features, const Eigen::VectorXd& standardized_targets) Select gamma from a factor H with K_geodesic = H H^T. Whitening H followed by an SVD preserves nonnegative component modes under an ill-conditioned base covariance and scales with the feature rank.