TruingUncertaintyDiagnosticsV1

Struct TruingUncertaintyDiagnosticsV1 

Source
pub struct TruingUncertaintyDiagnosticsV1 {
Show 13 fields pub chi_square: f64, pub prior_penalty: f64, pub penalized_chi_square: f64, pub effective_parameter_count: Option<f64>, pub effective_degrees_of_freedom: Option<f64>, pub reduced_chi_square: Option<f64>, pub bc_sensitivity_ratio: f64, pub data_condition_number: f64, pub map_scaled_gradient_inf_norm: f64, pub map_convergence_criterion: Option<TruingMapConvergenceCriterionV1>, pub map_objective_poll_radius: Option<f64>, pub map_max_objective_poll_improvement: Option<f64>, pub map_objective_poll_evaluations: usize,
}
Expand description

Fit and approximation diagnostics.

Fields§

§chi_square: f64

Data chi-square, sum((prediction - observation) / sigma)^2.

§prior_penalty: f64

Explicit prior contribution to the penalized chi-square.

§penalized_chi_square: f64

chi_square + prior_penalty, minimized by the MAP fitter.

§effective_parameter_count: Option<f64>

Effective number of parameters learned from the observations, trace(I_data * I_posterior^-1).

§effective_degrees_of_freedom: Option<f64>

Effective residual degrees of freedom, n - effective_parameter_count.

§reduced_chi_square: Option<f64>

Data chi-square divided by effective residual degrees of freedom.

§bc_sensitivity_ratio: f64

Fractional BC sensitivity relative to fractional MV sensitivity.

§data_condition_number: f64

Collinearity condition diagnostic for the weighted data Jacobian.

§map_scaled_gradient_inf_norm: f64

Infinity norm of the penalized-chi-square half-gradient in scaled coordinates at the reported MAP. This is an informative local-model diagnostic. It is the primary convergence test, but the deliberately broad finite-difference stencil can disagree with the trajectory solver’s much finer numerical surface. In that case TruingMapConvergenceCriterionV1::ObjectiveMesh records a direct- objective verification instead.

§map_convergence_criterion: Option<TruingMapConvergenceCriterionV1>

Criterion that verified the reported MAP, or None if the optimizer did not converge.

§map_objective_poll_radius: Option<f64>

Final scaled pattern-poll radius for objective-mesh convergence. 100 fps and 0.1 BC are one scaled unit. None when the gradient criterion was used or the poll did not reach its resolution target.

§map_max_objective_poll_improvement: Option<f64>

Largest direct chi-square improvement found in the final pattern poll. Objective-mesh convergence requires this to be no greater than 1e-8 in absolute penalized chi-square units.

§map_objective_poll_evaluations: usize

Number of direct objective evaluations used by the fallback poll.

Trait Implementations§

Source§

impl Clone for TruingUncertaintyDiagnosticsV1

Source§

fn clone(&self) -> TruingUncertaintyDiagnosticsV1

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TruingUncertaintyDiagnosticsV1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for TruingUncertaintyDiagnosticsV1

Source§

fn eq(&self, other: &TruingUncertaintyDiagnosticsV1) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for TruingUncertaintyDiagnosticsV1

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for TruingUncertaintyDiagnosticsV1

Source§

impl StructuralPartialEq for TruingUncertaintyDiagnosticsV1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,