Loading...
Searching...
No Matches
gpr::optim::SmoothedCurvatureSpectrum Struct Reference

#include <gpr/optimization/SmoothedCurvatureSpectrum.h>

Public Attributes

bool valid = false
Eigen::Index local_samples = 0
 Spectrum samples evaluated by this process.
Eigen::VectorXd curvatures
Eigen::VectorXd mean_curvatures
Eigen::MatrixXd modes
Eigen::VectorXd spreads
Eigen::VectorXd measured_spreads
Eigen::VectorXd floors
Eigen::MatrixXd hessian
Eigen::MatrixXd measured_span
double prior_absolute_variance = std::numeric_limits<double>::quiet_NaN()
double prior_relative_variance = std::numeric_limits<double>::quiet_NaN()
double prior_coupling_variance = std::numeric_limits<double>::quiet_NaN()
double stencil_inflation = std::numeric_limits<double>::quiet_NaN()

Detailed Description

Posterior of the Hessian spectrum from the surrogate prior and the measured columns (Max-and-Smooth, Hrafnkelsson et al. 2021, doi:10.1214/20-BA1219; scripts/derive_smoothed_index_certificate.py). The prior is a Gaussian on symmetric matrices around the surrogate Hessian whose error is an eigenvalue error in the surrogate's own eigenbasis (variance v_abs + v_rel lambda^2) plus a coupling matrix of independent entries (variance v_cpl), the three variances fitted from the joint likelihood of the measured entries. Every measured column is a set of entry observations whose variances are the stencil's own estimates, plus half the squared asymmetry of the two measurements of every doubly measured entry on each of them. The posterior retains the cross-entry covariance of the eigenvalue errors. The spreads are sampled posterior standard deviations of the eigenvalues; the floors are the spreads that would remain once every entry has been measured from both of its columns at the best precision any entry has reached, the part no further column can remove. The reported inflation is the largest column factor.

Definition at line 52 of file SmoothedCurvatureSpectrum.h.

Member Data Documentation

◆ curvatures

Eigen::VectorXd gpr::optim::SmoothedCurvatureSpectrum::curvatures

Posterior mean of the k-th smallest eigenvalue, from samples of the entrywise posterior; level repulsion from uncertain entries shifts the low end down, which the eigenvalues of the mean matrix (~mean_curvatures~) do not show.

Definition at line 60 of file SmoothedCurvatureSpectrum.h.

◆ floors

Eigen::VectorXd gpr::optim::SmoothedCurvatureSpectrum::floors

Definition at line 68 of file SmoothedCurvatureSpectrum.h.

◆ hessian

Eigen::MatrixXd gpr::optim::SmoothedCurvatureSpectrum::hessian

Definition at line 69 of file SmoothedCurvatureSpectrum.h.

◆ local_samples

Eigen::Index gpr::optim::SmoothedCurvatureSpectrum::local_samples = 0

Spectrum samples evaluated by this process.

Definition at line 55 of file SmoothedCurvatureSpectrum.h.

◆ mean_curvatures

Eigen::VectorXd gpr::optim::SmoothedCurvatureSpectrum::mean_curvatures

Definition at line 61 of file SmoothedCurvatureSpectrum.h.

◆ measured_span

Eigen::MatrixXd gpr::optim::SmoothedCurvatureSpectrum::measured_span

Definition at line 70 of file SmoothedCurvatureSpectrum.h.

◆ measured_spreads

Eigen::VectorXd gpr::optim::SmoothedCurvatureSpectrum::measured_spreads

Spread from the measured entries' stencil errors alone, the unmeasured entries held at the prior mean: what refinement, not another column, would have to remove.

Definition at line 67 of file SmoothedCurvatureSpectrum.h.

◆ modes

Eigen::MatrixXd gpr::optim::SmoothedCurvatureSpectrum::modes

Definition at line 62 of file SmoothedCurvatureSpectrum.h.

◆ prior_absolute_variance

double gpr::optim::SmoothedCurvatureSpectrum::prior_absolute_variance = std::numeric_limits<double>::quiet_NaN()

Fitted prior variances of the surrogate's error E = sum_k e_k v_k v_k^T + C in the surrogate's eigenbasis (v_k, lambda_k): an eigenvalue error e_k of variance v_abs + v_rel lambda_k^2 and a coupling matrix C of independent entries with variance v_cpl (half off the diagonal). Eigenvalue errors do not build a random-matrix bulk; only the couplings do, at their own, separately fitted scale.

Definition at line 77 of file SmoothedCurvatureSpectrum.h.

◆ prior_coupling_variance

double gpr::optim::SmoothedCurvatureSpectrum::prior_coupling_variance = std::numeric_limits<double>::quiet_NaN()

Definition at line 79 of file SmoothedCurvatureSpectrum.h.

◆ prior_relative_variance

double gpr::optim::SmoothedCurvatureSpectrum::prior_relative_variance = std::numeric_limits<double>::quiet_NaN()

Definition at line 78 of file SmoothedCurvatureSpectrum.h.

◆ spreads

Eigen::VectorXd gpr::optim::SmoothedCurvatureSpectrum::spreads

Definition at line 63 of file SmoothedCurvatureSpectrum.h.

◆ stencil_inflation

double gpr::optim::SmoothedCurvatureSpectrum::stencil_inflation = std::numeric_limits<double>::quiet_NaN()

Definition at line 80 of file SmoothedCurvatureSpectrum.h.

◆ valid

bool gpr::optim::SmoothedCurvatureSpectrum::valid = false

Definition at line 53 of file SmoothedCurvatureSpectrum.h.


The documentation for this struct was generated from the following file: