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: f64Data chi-square, sum((prediction - observation) / sigma)^2.
prior_penalty: f64Explicit prior contribution to the penalized chi-square.
penalized_chi_square: f64chi_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: f64Fractional BC sensitivity relative to fractional MV sensitivity.
data_condition_number: f64Collinearity condition diagnostic for the weighted data Jacobian.
map_scaled_gradient_inf_norm: f64Infinity 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: usizeNumber of direct objective evaluations used by the fallback poll.
Trait Implementations§
Source§impl Clone for TruingUncertaintyDiagnosticsV1
impl Clone for TruingUncertaintyDiagnosticsV1
Source§fn clone(&self) -> TruingUncertaintyDiagnosticsV1
fn clone(&self) -> TruingUncertaintyDiagnosticsV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for TruingUncertaintyDiagnosticsV1
impl PartialEq for TruingUncertaintyDiagnosticsV1
Source§fn eq(&self, other: &TruingUncertaintyDiagnosticsV1) -> bool
fn eq(&self, other: &TruingUncertaintyDiagnosticsV1) -> bool
self and other values to be equal, and is used by ==.impl Copy for TruingUncertaintyDiagnosticsV1
impl StructuralPartialEq for TruingUncertaintyDiagnosticsV1
Auto Trait Implementations§
impl Freeze for TruingUncertaintyDiagnosticsV1
impl RefUnwindSafe for TruingUncertaintyDiagnosticsV1
impl Send for TruingUncertaintyDiagnosticsV1
impl Sync for TruingUncertaintyDiagnosticsV1
impl Unpin for TruingUncertaintyDiagnosticsV1
impl UnwindSafe for TruingUncertaintyDiagnosticsV1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.