Skip to content

Conformal Calibration

This topic is covered in full on the conformal_modes concept page, which documents:

  • The CalibrationResult frozen dataclass and its save/load methods
  • All four ResidualMode values and how they produce half-width tables
  • The predict_interval dispatch logic (per-init-date, per-year, pooled)
  • The apply_conformal entry point and its two call shapes
  • Disk layout under {run_dir}/conformal/{mode}.parquet

See also the postprocess pipeline page for how calibration sidecars are fitted and consumed during the POSTPROCESS stage.

Quick reference

Symbol File Line
CalibrationResult models/meta_models/conformalise.py 111
CalibrationResult.save models/meta_models/conformalise.py 215
CalibrationResult.load models/meta_models/conformalise.py 225
apply_conformal models/meta_models/conformalise.py 584
ResidualMode models/meta_models/types.py 16