Repository navigation
v0.1.9
New trackers in pyconformal.trackers: ECI (error-quantified conformal inference, Wu et al. 2025, with the study’s cutoff and integral variants, 32nd to 35th), DDCI (dynamic dual-feedback CI, Du, Luo and Aickelin, 31st), UPOCP (online CP by universal portfolios, Liu, Dobriban and Orabona, 45th), and Wang and Hyndman’s methods from the R package conformalForecast: WangHyndmanACP (64th; with clip=True 36th, documented: clipping drops the guarantee), WangHyndmanSCP (58th; weighted=True 66th) and WangHyndmanPID (53rd). Same intervals as the study’s code to 1e–15 to 6e–14.
ConformalPID(unit_free=True) and run(..., batch_size=k): the study’s quantile tracker (KI=0, 33rd) and conformal PI (55th), to 2e–14.
New module pyconformal.reservoir: ResCP (reservoir CP, Neglia et al., ICLR 2026; 38th, 37th with temperature="tune"). Identical intervals.
New module pyconformal.residual_quantile: CQACP (conditional quantile adjusted CP, Yu, Zhu and Zhu, ICML 2026; 40th; needs SciPy). Identical intervals with the study’s quantile forest.
New module pyconformal.regimes: CPTC (CP for time series with change points, Sun and Yu, NeurIPS 2025; 43rd) on MarkovSwitchingAR, a Markov-switching regression fitted by EM. Same intervals to 1e–12.
pyconformal.online_quantile: EnCQR (Jensen, Bianchi and Anfinsen, 44th), EnsCQR (bagged CQR with an online correction, 46th) and HQRWACI (heteroscedastic quantile regression with width-adaptive CI, Sebastian, González-Guillén and Juan 2024, 62nd; its quantile regressions repeat statsmodels’ iterations, so statsmodels is not needed). Same intervals to 3e–15.
pyconformal.univariate: NaiveInterval (56th), SeasonalNaiveInterval (42nd) and MarginalInterval (static, rolling and seasonal: the study’s SMCI, RMCI and SeMCI, 57th, 51st and 52nd). Same intervals to 2e–14.
Speed, full protocol on four series against the study’s code with the same intervals: 2x to 112x for most; CPTC 10x (forward-backward passes compiled), Wang and Hyndman’s methods 2x to 9x (compiled), HQR-WACI 1.6x. Where the time is a quantile forest (CQACP, EnCQR, EnsCQR), 1x with the same forest and 4x with pyconformal’s. benchmarks/speed_places31.py times them against the public alternatives.
README and docs home: the whole study (all 66 places) in one library, about seventy methods; the PyPI page shows this README.
Tests: tests/test_places31.py checks every new method against the study’s intervals on a stored stream (tests/data/places31_reference.npz), with and without numba.