Skip to content

API reference

Module Responsibility
contracts Adapter-agnostic data contracts (TermData, BinnedTerm, ShapData)
shrinkage Empirical-Bayes τ² estimation (mom / mle / SHAP-mode)
decompose Exact-mode I/D/M channel math
decompose_shap Approximate-mode reallocation
bagging Bootstrap replicas as the epistemic-variance source
lgbm LightGBM adapter (both modes) + fit_lgbm_gam
ebm InterpretML EBM adapter (triadxai[ebm])
local TriadExplainer / TriadExplanation
reasons Reg-B-style reason-code mapping
waterfall Three-channel waterfall plot (triadxai[viz])
synthetic Validation DGPs
metrics Reconciliation / stability metrics