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

#include <gpr/optimization/StationaryCurvature.h>

Public Attributes

bool valid = false
double lower = -std::numeric_limits<double>::infinity()
double upper = std::numeric_limits<double>::infinity()
double undetermined = 1.0
 fraction of samples without a model root
double force_target = std::numeric_limits<double>::infinity()
bool force_decidable = false
 force_target resolvable at f_spread

Detailed Description

The curvature of a mode at the stationary point the search converges to, from the cubic model along the mode: with gradient component f, curvature c and cubic coefficient b, E(q) = f q + c q^2 / 2 + b q^3 / 6 has stationary points where f + c q + b q^2 / 2 = 0, and the curvature there is c + b q = sign(c) sqrt(c^2 - 2 b f) (derive_smoothed_index_ certificate.py). The measured c, f and b carry Gaussian errors; the posterior of the stationary curvature is sampled, and a sample whose discriminant is negative (no stationary point of the model along the mode) leaves the sign undetermined and widens both bounds. The bounds are the one-spread quantiles the certificate uses everywhere. The force target is the force magnitude at which the discriminant c^2 - 2 b f exceeds zero by its own one-spread error under the same Gaussian errors, to first order sqrt((2 c s_c)^2 + (2 b s_f)^2 + (2 f s_b)^2), evaluated at the target force itself: there the sign becomes decidable at one spread. A target below the stencil's own force error cannot be resolved by any search this stencil judges: the target is then not decidable and the sign of the curvature at the point stands.

Definition at line 73 of file StationaryCurvature.h.

Member Data Documentation

◆ force_decidable

bool gpr::optim::StationaryCurvaturePosterior::force_decidable = false

force_target resolvable at f_spread

Definition at line 79 of file StationaryCurvature.h.

◆ force_target

double gpr::optim::StationaryCurvaturePosterior::force_target = std::numeric_limits<double>::infinity()

Definition at line 78 of file StationaryCurvature.h.

◆ lower

double gpr::optim::StationaryCurvaturePosterior::lower = -std::numeric_limits<double>::infinity()

Definition at line 75 of file StationaryCurvature.h.

◆ undetermined

double gpr::optim::StationaryCurvaturePosterior::undetermined = 1.0

fraction of samples without a model root

Definition at line 77 of file StationaryCurvature.h.

◆ upper

double gpr::optim::StationaryCurvaturePosterior::upper = std::numeric_limits<double>::infinity()

Definition at line 76 of file StationaryCurvature.h.

◆ valid

bool gpr::optim::StationaryCurvaturePosterior::valid = false

Definition at line 74 of file StationaryCurvature.h.


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