pub enum FitResult {
Show 13 variants
Standard(StandardFitResult),
GaussianLocationScale(GaussianLocationScaleFitResult),
BinomialLocationScale(BinomialLocationScaleFitResult),
DispersionLocationScale(DispersionLocationScaleFitResult),
SurvivalLocationScale(SurvivalLocationScaleFitResult),
SurvivalTransformation(SurvivalTransformationFitResult),
BernoulliMarginalSlope(BernoulliMarginalSlopeFitResult),
SurvivalMarginalSlope(SurvivalMarginalSlopeFitResult),
LatentSurvival(LatentSurvivalTermFitResult),
LatentBinary(LatentBinaryTermFitResult),
TransformationNormal(TransformationNormalFitResult),
SplineScan(SplineScanFit),
ResidualCascade(ResidualCascadeFit),
}Variants§
Standard(StandardFitResult)
GaussianLocationScale(GaussianLocationScaleFitResult)
BinomialLocationScale(BinomialLocationScaleFitResult)
DispersionLocationScale(DispersionLocationScaleFitResult)
SurvivalLocationScale(SurvivalLocationScaleFitResult)
SurvivalTransformation(SurvivalTransformationFitResult)
BernoulliMarginalSlope(BernoulliMarginalSlopeFitResult)
SurvivalMarginalSlope(SurvivalMarginalSlopeFitResult)
LatentSurvival(LatentSurvivalTermFitResult)
LatentBinary(LatentBinaryTermFitResult)
TransformationNormal(TransformationNormalFitResult)
SplineScan(SplineScanFit)
Exact O(n) state-space cubic/linear/quintic smoothing-spline scan
(#1030/#1034). A scan-bearing model IS a Gaussian-identity model with a
different (exact) representation: rather than a dense design + coefficient
vector it carries the Durbin–Koopman smoother posterior directly (knots,
smoothed states, pointwise variances, σ², log λ, exact diffuse-REML EDF,
and an exact per-row predict). Library callers that want the fitted
posterior get it here without paying the dense O(n·k²)+O(k³) route; the
CLI/FFI save paths build the persistence payload from the same
SplineScanFit via assemble_spline_scan_payload.
ResidualCascade(ResidualCascadeFit)
O(n log n) multiresolution residual-cascade smooth (#1032). UNLIKE the
1-D scan, the cascade is NOT the same posterior as the Duchon/Matérn term
it stands in for (a different finite basis — the multilevel Wendland
frame), so it is never a silent swap: this variant is produced only when
the structural detector residual_cascade_fast_path fires on an
eligible scattered-low-d Gaussian fit past the dense-kernel cliff AND the
in-cascade quasi-uniformity guard certifies the metric; every other shape
(and a rejected metric) falls through to the dense fit_model path. The
cascade-bearing model carries the
ResidualCascadeFit
directly — knots-free nested geometry, coefficients, the factored
precision, and an exact per-row predict; the CLI/FFI save paths build
the persistence payload from its to_state snapshot.
Auto Trait Implementations§
impl !RefUnwindSafe for FitResult
impl !UnwindSafe for FitResult
impl Freeze for FitResult
impl Send for FitResult
impl Sync for FitResult
impl Unpin for FitResult
impl UnsafeUnpin for FitResult
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> 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.