Expand description
Inference-tier numerics that are genuine gam-solve criterion math
(descended #1521): leaf evidence/diagnostic computations whose dependencies
are all at or below the gam-solve tier (estimate, pirls, sensitivity,
mixture_link, gam-linalg, gam-problem). The monolith crate root
re-exports this subtree as gam::inference::*, so existing callers
(gam::inference::alo, …) resolve unchanged.
Modules§
- alo
- Approximate-leave-one-out (ALO) REML-evidence diagnostics. Descended from the
monolith
inference::alo(#1521): its only dependencies are the gam-solveestimate/pirls/sensitivity/mixture_linkmodules plusgam-linalgandgam-problem— all at or below the gam-solve tier. - certificate_
impls - Margin-resolved
Verdictmappings for the two gam-solve-tier certificates consumed bycrate::topology_selector. Descended from the monolithinference::certificate_impls(#1521): the two helpers here depend only on gam-solve-tier types (logdet_bounds,row_sampling_measure) plus the contracted-down certificate ladder — they do NOT pullgam_sae, so no trait inversion is needed (the gam-saeimpl Certificate for …blocks stay in the monolith). [Certificate] implementations and margin-resolved [Verdict] mappings for the gam-solve-tier certificate zoo (task #16; descended #1521). - pg_
gate_ evidence - Deterministic Pólya–Gamma gate-block evidence (#1016): Schur-eliminates a
logit gate sub-block with a true PG-augmented quadratic. Descended from the
monolith
inference::pg_gate_evidence(#1521): depends only ongam-linalg(matrix::FactorizedSystem,faer_ndarray) plus the in-cratepg_moments. Reached downward fromgam_sae::structure_harvest; the monolith crate root re-exports it sogam::inference::pg_gate_evidenceresolves unchanged. Deterministic Pólya–Gamma gate-block evidence for logit SAE gates (#1016). - pg_
moments - Closed-form Pólya–Gamma moments (#1016). Pure functions of
(b, c)with no RNG. Descended from the monolithinference::pg_moments(#1521); the monolith crate root re-exports it sogam::inference::pg_momentsresolves unchanged. Analytic Pólya–Gamma moments for deterministic gate-block evidence approximations (#1016). - residual_
factor - Structured residual-covariance estimator (#974) and the single producer of
MetricProvenance::WhitenedStructured. Descended from the monolithinference::residual_factor(#1521): its only dependencies aregam_problem::RowMetricplusgam-linalg(faer_ndarray::{FaerCholesky, FaerEigh}) — all at or below the gam-solve tier. Reached downward fromgam_sae::structure_harvest; the monolith crate root re-exports it sogam::inference::residual_factorresolves unchanged. #974 — the structured-residual covariance estimator and the single producer ofMetricProvenance::WhitenedStructured.