pub struct FitArtifacts {
pub pirls: Option<PirlsResult>,
pub null_space_logdet: Option<f64>,
pub null_space_dim: Option<usize>,
pub survival_link_wiggle_knots: Option<Array1<f64>>,
pub survival_link_wiggle_degree: Option<usize>,
pub criterion_certificate: Option<CriterionCertificate>,
pub rho_posterior_certificate: Option<RhoPosteriorCertificate>,
pub rho_posterior_escalation: Option<RhoPosteriorEscalation>,
pub rho_covariance: Option<Array2<f64>>,
}Expand description
Post-fit artifacts needed by downstream diagnostics/inference without re-running PIRLS.
Fields§
§pirls: Option<PirlsResult>§null_space_logdet: Option<f64>§null_space_dim: Option<usize>§survival_link_wiggle_knots: Option<Array1<f64>>§survival_link_wiggle_degree: Option<usize>§criterion_certificate: Option<CriterionCertificate>First-order optimality certificate from the outer smoothing-parameter
optimization (#934): gradient-vs-objective FD audit at the returned
optimum, Hessian-PD probe, λ-rail flags. None when the outer ran
gradient-free or an audit probe could not evaluate.
rho_posterior_certificate: Option<RhoPosteriorCertificate>Tier-0 marginal-smoothing (ρ-uncertainty) PSIS certificate (#938):
the Pareto-k̂ diagnostic that says whether the plug-in + first-order
V_ρ correction is adequate or ρ-uncertainty needs a heavier
quadrature/NUTS treatment. Computed against the live REML objective at
the converged ρ̂ (see RemlState::rho_posterior_inference). None
when there are no smoothing parameters or the outer Hessian was
unavailable. Re-derivable from the fit, so it is not serialized.
rho_posterior_escalation: Option<RhoPosteriorEscalation>Escalation outcome (#938) when the Tier-0 certificate read Escalate:
the Tier-1 quadrature mixture (K ≤ 4), the Tier-2 NUTS draws
(K ≤ 16), or an honest Unavailable report. None whenever the
certificate did not escalate (or is itself absent). Computed at the same
live-objective seam as the certificate; re-derivable, not serialized.
rho_covariance: Option<Array2<f64>>Regularized inverse REML/LAML outer Hessian over rho = log(lambda),
aligned with UnifiedFitResult::lambdas. This is the narrow #740
handoff consumed by estimated-lambda Lawley LR corrections; it is
computed from the same path as smoothing-parameter uncertainty and is
re-derivable, so it is not serialized.
Trait Implementations§
Source§impl Clone for FitArtifacts
impl Clone for FitArtifacts
Source§fn clone(&self) -> FitArtifacts
fn clone(&self) -> FitArtifacts
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FitArtifacts
impl Debug for FitArtifacts
Source§impl Default for FitArtifacts
impl Default for FitArtifacts
Source§fn default() -> FitArtifacts
fn default() -> FitArtifacts
Source§impl<'de> Deserialize<'de> for FitArtifacts
impl<'de> Deserialize<'de> for FitArtifacts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl !RefUnwindSafe for FitArtifacts
impl !UnwindSafe for FitArtifacts
impl Freeze for FitArtifacts
impl Send for FitArtifacts
impl Sync for FitArtifacts
impl Unpin for FitArtifacts
impl UnsafeUnpin for FitArtifacts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§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).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.