Expand description
crate::model_types → fit-result / penalty-spec carriers now in gam-solve,
plus the finite-validation helper from gam-problem that gam-solve only
re-exports crate-internally.
Structs§
- Active
Linear Constraint Block - Active row block of the joint linear inequality constraint matrix at the converged inner iterate.
- Adaptive
Regularization Options - Criterion
Certificate - First-order optimality certificate: gradient-vs-objective FD audit at the returned optimum (#934).
- FitArtifacts
- Post-fit artifacts needed by downstream diagnostics/inference without re-running PIRLS.
- FitGeometry
- Working-set geometry at convergence needed by ALO and other post-fit diagnostics. Only populated when the inner solver provides the data.
- FitInference
- FitOptions
- Fitted
Block - Inference quantities for one coefficient block.
- Projected
KktResidual - KKT residual
r = grad_beta L_pen(beta_hat)at the converged inner iterate, tagged with the exact represented subspace. - Unified
FitResult - Unified fit result for all model types (standard GAM, GAMLSS, survival).
- Unified
FitResult Parts
Enums§
- Block
Role - Role of a coefficient block within a multi-parameter model.
- Coefficient
Prior Mean - Programmatic prior mean for a coefficient penalty block.
- Dispersion
- Dispersion contract used by inferential covariance and reference distributions.
- Estimation
Error - A comprehensive error type for the model estimation process.
- Execution
Path - Truthful execution-path classifier for a fit’s hot inner solve (issue #1017).
- Fitted
Link State - KktResidual
Subspace - Subspace represented by a stored KKT residual.
- Penalty
Spec - A penalty specification for the public estimate API.
Functions§
- ensure_
finite_ scalar - Public wrapper returning
Stringerrors for use outside the estimation module. - ensure_
finite_ scalar_ estimation - saved_
latent_ cloglog_ state_ from_ fit - saved_
mixture_ state_ from_ fit - saved_
sas_ state_ from_ fit - validate_
all_ finite - Public wrapper returning
Stringerrors for use outside the estimation module. - validate_
dense_ hessian_ export - Validate the structural integrity of an exported penalized Hessian.
- validate_
explicit_ dense_ hessian_ for_ whitening - Validate that a saved penalized Hessian is an explicit dense precision matrix suitable for HMC/NUTS whitening.