betaFeedback

WorksComputer Science

pyconformal: Exact and Fast Conformal Prediction for Tabular Data and Time Series

Abstract

Conformal prediction is used for its guarantee: if calibration and test data are exchangeable, a 90% split-conformal interval covers at least 90% of the time, for any model and any calibration size. That guarantee belongs to an exact procedure, and software loses it through small choices. We audited thirteen Python and R packages on data where the guarantee must hold, reading five conformal libraries module by module, and found about thirty faults. Two forecasting libraries cover 63% at a 90% target with their default of two calibration windows. One library's prediction sets cover 45% when rows are predicted one at a time. Two implementations of adaptive conformal inference clip the working level and lose the guarantee that defines the method. The basic split-conformal routines of the main libraries met their level in every test. We present pyconformal, an MIT-licensed package that implements about thirty conformal methods for regression, classification, probability calibration, predictive distributions, time series and panel data behind one interface. Every method is tested against its definition, against reference code where it exists, and against its guarantee. The package also contains algorithmic improvements: an exact Venn-Abers kernel in integer arithmetic, rank trees for online methods, closed forms for conformal predictive distributions, CV+ in 3 megabytes where MAPIE needs 3 gigabytes, and a repaired rule for conformal interquantile regression. With identical output, Venn-Abers calibration on a million points takes 0.37 seconds against 75 in the reference implementation, and conformal predictive intervals for a million test points take 0.01 seconds against 79 in crepes. We describe the design, the algorithms and what each gains in time and memory, the verification method, the audit and the benchmarks.

Introduction

Split conformal prediction [23, 32, 45] turns any point predictor into a prediction interval with a guarantee: if calibration and test points are exchangeable, the interval built from the ⌈(n+1)(1−α)⌉\lceil(n+1)(1-\alpha)\rceil-th smallest of nn calibration scores contains the outcome with probability at least 1−α1-\alpha. The guarantee holds for every nn and every model. It is also fragile in a specific way. It belongs to that rank, not to a nearby one. If the rank exceeds nn, the only valid interval is the whole real line. Replace the rule by an ordinary empirical quantile, or return the largest score when the rank is out of reach, and the statement no longer holds.

This paper makes four points.

  1. Existing software loses the guarantee in ordinary use. § 7 reports an audit of thirteen packages: statsforecast, mlforecast, Nixtla’s Python package conformalforecast, Darts, TorchCP, crepes, MAPIE, PUNCC, conformal-tights, venn-abers, online-cp, tsbootstrap, and Wang and Hyndman’s R package conformalForecast. Thresholds and coverage were tested in each of them, on the tasks it supports, and MAPIE, crepes, PUNCC, TorchCP and conformal-tights were read module by module. We found about thirty faults (Table 2 and Table 3); fifteen of them lower coverage, or put a risk bound below its stated level, with no error or warning. The basic split-conformal regression and classification routines of MAPIE, crepes, PUNCC and TorchCP met their level in every coverage test; the faults sit in options, in newer modules and in the time-series methods. The faults fall into five types: a rank or level that is not the one the proof uses (an uncorrected quantile, a clipped level), calibration and prediction that score differently, results that depend on how predict is called, an object used as its own neighbour, and a conformal step that is missing. We record what was correct next to what was not.

PackageWhat is wrongEffect
statsforecast 2.1.1, mlforecast 1.1.0The interval half-width is the ordinary 90th percentile of past forecast errors, without the finite-sample correction that the conformal guarantee needs. By default only 2 past errors are used, and no valid finite 90% interval can be made from 2 errors. No warning is given.Intervals are too narrow. Sold as 90%, they cover 63–65% at the default (4,000 series) and 86% with 20 calibration windows.
Darts 0.48.1When there are too few calibration errors for a valid finite interval, the largest error is used, with no warning, where the only valid interval is infinite.75% coverage in place of 90% with 3 calibration points. The default setting is correct.
TorchCP 1.2.1SAPS(randomized=False) scores the most likely class as 0 in calibration and as its probability pmax⁡p_{\max} in prediction, so the threshold does not match the sets it is applied to.Sets are too small or empty: coverage 36% and 2.5% in place of 90% when top-1 accuracy is 82% and 89% (10 classes, weight 0.2). The default mode is correct.
crepes 0.9.1The CRPS of normalised predictive systems multiplies one term by the difficulty estimate σ\sigma twice.The reported accuracy score is wrong: a true CRPS of 2.19 is reported as 7.19 at σ=5\sigma= 5. Intervals are not affected.

Table 2. Faults that break the guarantee or a reported number. Coverage is at a 90% target.

Table 3: Faults found in the module-by-module audits. Coverage is at a 90% target and miss rates at a 10% target unless stated.

FaultMeasuredOn tracker
MAPIE 1.6.0
ACI clips its working level to [0,1][0, 1]; this is not the algorithm of [14]Miss rate 13.7%, 19.8% and 33.4% on three drifting sequences, where the theorem allows 10.6%; unclipped 10.1%. On i.i.d. data 10.1% clipped and 10.0% unclippedno
APS and RAPS with include_last_label=False81.5% and 83.6%; the docstring says coverage may be higher than the targetissue 1021
Default RCPS bound: the test statistic is run on two halves of the data and the two maxima are addedBound below the true risk in up to 19.7% of runs where 10% is allowed; 12.3% through the public classpull request 998, closed unmerged
Default Holm procedure stops at an undefined p-value, so learn-then-test returns no thresholdNo threshold in 161 of 300 runs; Bonferroni on the same data, 0 of 300. Validity not affectedno
crepes 0.9.1
Out-of-bag calibration with k-nearest-neighbour difficulty estimates counts each training object as its own neighbour83.6% with k=5k = 5; 88.1% with the default k=25k = 25no
A test object in a Mondrian category absent from calibration gets the interval [0,0][0, 0]Every such object, no warningissue 54
MondrianCategorizer fitted with learner= raises NameError when appliedEvery callno
predict(..., seed=) leaves NumPy’s global random state reset to the seedEvery call with a seedno
PUNCC 0.9.3
APS and RAPS cap the size of a prediction set at the number of test rows in the call45% with one row per call, 68% with two, 89% with fiveno
Box-wise object detection uses the wrong sign for two sides of the boxTrue box inside the “outer” box in 0% of cases when the detector’s boxes are too smallno
TorchCP 1.2.1
FaultMeasuredOn tracker
CQR-R: the correction is scaled by a tensor that is still zero, which leaves a negligible correction57.6%, the same as the raw quantile band to the reported precision; CQR on the same data 90.1%no
ACI holds its level inside [1/(n+1),0.9999][1/(n + 1), 0.9999]Miss rate 14.0% with random-walk errors; bound 10.6%; unclipped 9.9% to 10.1%no
AgACI: no state is carried between steps and all experts always get the same weightMiss rate 44.5%, 38.2% and 27.5% on three drifting sequences; 10.0% on i.i.d. datano
NorABS fails on any batch of more than one row; used as its docstring says, each calibration row is its own neighbourRuntimeError; 83.6% with k=5k = 5, computed from the scores because the interval call failsno
ClusteredPredictor returns every label for classes without a clusterValid; mean set size 34.3 against 6.0 for plain split with 30 rare classes in 100no
WeightedPredictor sorts the weights separately from the scores98.2% and 99.2% under covariate shift; sets 41% to 62% larger than correct weightingissue 126
ConformalLM with a scaler scales calibration scores twice and test scores onceRisk above its limit in 25.5% of calibration draws where 5% is allowed (synthetic scores)no
CDLoss has the sign reversed; the metric SSCL sums over the wrong axisMean set size 3.38 before training, 5.83 after; SSCL returns 101 for a quantity in [0,1][0, 1]no
conformal-tights 0.5.0
No conformal step below 1,414 training rows: the interval is a quantile regression fitted on the calibration set80.6% at a 90% target and 84.8% at 95% with 300 rows, mean of eight public datasets; 84.2% and 89.9% with 1,000 rows (seven datasets)not checked
With enough rows, the narrower of two calibrated intervals is returned for each test point87.2% and 93.3% with 5,000 rows, mean of five datasets; at the 90% target each of the two intervals alone gives 90.6% and 91.3%not checked
The second calibration stage ignores sample weightsWith one fifth of the rows corrupted and given weight zero, the 90% interval is three times wider than a fit on the clean rows alone and covers 99.7%not checked
Darts forecaster: calibration rows are drawn at random from the lagged seriesOne step ahead on the project’s own example (2,184 test hours): 86.8% at 90%, 92.0% at 95%not checked
predict_interval edits a stored array, which changes what a later predict_quantiles call at the same levels returns13 of 20 fitsnot checked

Table 3. Faults found in the module-by-module audits. Coverage is at a 90% target and miss rates at a 10% target unless stated.

  1. Correct software is often slow where it matters. Venn–Abers calibration on a million points takes about a minute in the reference implementation and a third of a second in ours, with identical output. Conformal predictive intervals for a million test points take 79 seconds in crepes and 0.01 seconds in ours. Multi-step split conformal prediction on a history of 3,000 points and 12 horizons takes 42 seconds in R and 0.01 seconds in ours, with identical intervals.

  1. The gains come from algorithms, not only from compiled code. § 5 describes them and states what each one gains: an exact Venn–Abers kernel on the cumulative-sum diagram in integer arithmetic (205 times faster than existing code, identical output); rank trees for replaying online methods at logarithmic cost per step; closed forms for conformal predictive distributions and their CRPS that never form the test-by-calibration matrix; CV+ by search inside sorted fold residuals, which cuts peak memory from gigabytes to megabytes; and a repaired window rule for conformal interquantile regression, whose published code loses coverage on bimodal outcomes. We claim improvements over existing implementations and say where the underlying idea is older.

  1. One interface can serve both tabular and time-series methods. No existing package covers both families well. Our package, pyconformal, uses one small set of verbs for all of them and accepts either a model or the model’s outputs.

We state the limits of each claim next to the claim. Several large speed factors apply to replaying a history and shrink to single digits when observations arrive one at a time and the model must be called at every step (§ 8); all timings are from one machine; coverage tests use synthetic data except where a section says otherwise.

Related software

MAPIE [9, 39] is the most widely used Python package for conformal prediction and covers split, cross and jackknife methods for regression, prediction sets for classification, Venn–Abers calibration, and two time-series methods. The crepes package [6] provides conformal regressors, Mondrian and normalised variants, and conformal predictive systems. TorchCP [20] targets deep learning with PyTorch and has the widest range of classification scores; it is licensed under LGPL-3.0. PUNCC [31] offers split, cross and ensemble methods with a flexible calibration interface. For forecasting, statsforecast [13], its companion mlforecast, and Darts [18] attach conformal intervals to their models, and the R package conformalForecast implements the multi-step methods of Wang and Hyndman [49]. Reference code exists for most recent time-series methods [2, 14, 15, 50, 51, 53], usually as research scripts.

Three more packages overlap with the scope here. Fortuna [10], which is no longer maintained (its repository is archived), offered conformal methods for classification and regression that start from a model’s outputs, among them EnbPI, inside a deep-learning library built on JAX. The sktime library [25] attaches conformal intervals to its forecasters. Nixtla’s Python package conformalforecast (not to be confused with the R package conformalForecast of [49]) provides split conformal intervals for forecasts. TorchCP also has regression predictors, predictive distributions and online methods, and MAPIE also has conformal risk control [9]; the audit covers those parts. The conformal-tights package (MIT licence) wraps a scikit-learn regressor with a non-crossing quantile regression fitted on a calibration set, and has a Darts forecaster built on it.

None of these covers both tabular and time-series conformal prediction in the depth of Table 1 without a deep-learning dependency. Ours is MIT-licensed and needs only NumPy.

RegressionSplit conformal [23, 32], normalised, Mondrian [43], weighted [40]; jackknife+ and CV+ [4]; conformalised quantile regression (CQR) [33]; conformal thresholded intervals (CTI) [26]; conformal interquantile regression (CIR, CIR+) [17], with the window rule changed as explained in Section 5; a quantile regression forest {citep}[30]` with out-of-bag calibration; QuantileBooster, which makes CatBoost, XGBoost or LightGBM predict a grid of quantile levels for CQR, CTI and CIR
ClassificationLAC [36], APS [34], RAPS [1], SAPS [19], each randomised or not, marginal, class-conditional or Mondrian by any category
CalibrationInductive and cross Venn–Abers predictors [44, 46], binary and multiclass [27]
Predictive distributionsConformal predictive systems [47, 48]: quantiles, distribution function, intervals, CRPS; normalised and Mondrian; weighted for covariate shift [21]
Time series, onlineACI [14], DtACI [15], AgACI [53], non-exchangeable conformal prediction [5], conformal PID control [2]
Time series, ensembles and residual modelsEnbPI [50], SPCI [51]
Time series, multistepMulti-step split conformal prediction and AcMCP [49]; conformal seasonal pools [28]
Panel dataTQA [24] and W-TQA [41]: intervals for one unit calibrated on its peers in the same round, with late or missing feedback; MultiQT [11]: online quantile forecasts at many levels that never cross; Panel CPD (PanelPredictiveSystem), our method for panels in which a unit’s own outcome is seen only on some rounds: predictive quantiles for every unit at every round, from a conformal predictive system calibrated on the unit’s peers and corrected online by a multi-level quantile tracker (described in a separate paper)
Distribution-valued outcomesConformal sets when the outcome is itself a probability distribution or a vector (arXiv:2611.06320)
DecompositionSTL [8] and MSTL [3]

Table 1. Methods in pyconformal 0.1.6.

Neighbouring methods. Four lines of work sit next to what the package contains. Weighted conformal predictive systems [21] extend predictive distributions to covariate shift; pyconformal supports weights for split conformal intervals [40], uses similarity weights in its panel methods, and from version 0.1.6 accepts weights in its predictive systems, following [21]. Copula-based methods [38] give joint coverage over a whole forecast horizon from a set of independent series; the multi-step methods here give coverage at each horizon separately, on a single series. Dual-splitting conformal prediction [52] groups forecast trajectories and horizons before calibrating; it is not included. Generalised Venn and Venn–Abers calibration [42] extends the binary-classification method implemented here to general losses and to multicalibration. Recent surveys and benchmarks of conformal methods for time series [35, 37] group methods by the assumption they relax (reweighting, residual dynamics, online adaptation); Table 1 follows the same grouping.

Design

One exact rank

All unweighted thresholds come from one routine, conformal_quantile. It computes k=⌈(n+1)(1−α)⌉k = \lceil(n + 1)(1 - \alpha)\rceil in rational arithmetic, that is, with whole-number numerators and denominators and no rounding at any step. The reason is that a computer does not hold the number 0.1. It holds the nearest number that can be written with 53 binary digits, which is 0.1000000000000000055511151231257827 . . ., and every product formed from it carries that small error; a ceiling or a floor then turns an error in the seventeenth digit into an error of one whole rank. The routine avoids this in two steps. First it recovers the decimal number the user wrote. Python prints a floating-point number as the shortest decimal string that reads back to the same stored value, so the stored value above prints as 0.1, and Fraction(repr(alpha)) turns that string into the exact fraction 1/10. Second, (n+1)(1−α)(n+1)(1-\alpha) is formed from that fraction: with n=9n=9 it is 10×9/10=910 \times9/10 = 9 exactly, and the ceiling of an exact number is never in doubt. The level therefore means what was typed, not its binary approximation. One consequence should be known: a level that is itself the result of arithmetic is taken at face value. Passing 1 - 0.9 passes 0.09999999999999998, a different number from 0.1, and the rank is exact for that number; levels should be passed as written. When k>nk > n the routine returns infinity.

Floating point can put the product on the wrong side of a whole number. Two examples, both checked in IEEE double precision. With n=49n = 49 and α=0.58\alpha= 0.58, (n+1)(1−α)(n+1)(1-\alpha) evaluates to 21.000000000000004 and a ceiling gives 22 where 21 is right. More common in practice: when the level is given as a confidence c=0.9c = 0.9, 1−c1-c evaluates to 0.09999999999999998, so code that takes the ⌊(n+1)(1−c)⌋\lfloor(n+1)(1-c)\rfloor-th largest score truncates 0.9999999999999998 to 0 at n=9n = 9, and uses one rank too high whenever n+1n+1 is a multiple of ten (we checked every such n+1n+1 up to one million; no other calibration size is affected at this level). This is the fault in crepes and in the code released with CIR (§ 7). The direct form ⌈(n+1)(1−α)⌉\lceil(n+1)(1-\alpha)\rceil is less fragile than these examples might suggest: for α∈{0.01,0.025,0.05,0.1,0.2,0.25}\alpha\in\{0.01, 0.025, 0.05, 0.1, 0.2, 0.25\} it gave the right rank for every nn up to 200,000. The exact routine removes the question.

Grouped (Mondrian) and normalised variants call the same routine on their own scores. Weighted conformal prediction and the non-exchangeable method accumulate real-valued weights in floating point; the exactness statement does not extend to them.

One interface

Every method has the same verbs.

  • fit(X, y) trains the underlying model, if one was given.

  • calibrate(X, y) computes scores on held-out data and stores what prediction needs.

  • predict_interval, predict_set, predict_proba, predict_quantile or predict_cdf produce the output.

  • update adds one observation, for online methods; run replays a whole history.

The model is optional. Each method is one class that accepts either an estimator with fit and predict methods or the model’s outputs passed by keyword (y_pred=, proba=, quantiles=, scores=). The two routes are tested to give identical results. Coverage is always specified as the miscoverage level alpha; a list of mm levels adds a last axis of length mm: intervals have shape (n,2,m)(n,2,m) and prediction sets, which are boolean masks over the classes, (n,K,m)(n,K,m).

The verbs map onto the families as follows. Split methods use fit (optional), calibrate on held-out data, then a predict_ method. Cross methods (jackknife+, CV+, cross Venn–Abers, out-of-bag calibration) have no separate calibration set: fit trains one model per fold and computes the out-of-fold scores, and there is no calibrate call; when predictions are supplied instead of a model they have one column per fold model. Online methods take calibrate as an optional warm start; run replays a history and returns its intervals and misses directly, and predict_interval followed by update serves one step at a time. STL and MSTL are plain functions, not conformal methods; they are in the package because conformal seasonal pools and several forecasting workflows need them. They are also fast: on 100,000 hourly points our MSTL takes 0.1 seconds against 19.3 seconds for statsforecast at its default settings (6 to 7 times faster at equal settings) and is about 5 times faster than R’s forecast::mstl, whose output it matches to 10−1410^{-14} (Table 12).

Table 12: MSTL decomposition in milliseconds (speed_mstl.py). At its defaults statsforecast evaluates every smoother at every point; R and pyconformal evaluate at every tenth point of the window (the “jump” parameters of the original STL), which accounts for most of the gap. At identical settings pyconformal is 6–7 times faster than statsforecast and about 5 times faster than R, with results equal to R’s to 10−1410^{-14}.

Series (seasonal periods)statsforecast 2.1.1pyconformal
15-minute data, 6 weeks, 4,032 points3,1456
Hourly data, 1 year, 8,760 points1,69812
Hourly data, 11 years, 100,000 points19,30098

Table 12.

Arrays first, compiled kernels optional

Methods are written on arrays of predictions and outcomes; model handling is a thin layer on top. The hot loops have two implementations, a NumPy one and one compiled with Numba [22]. The test suite asserts that both return the same values, including under ties. Installing Numba changes speed and nothing else. Nothing beyond NumPy is imported at run time: the quasi-Newton optimiser used by AcMCP is the package’s own, and user-supplied estimators are copied with the standard library’s copy.deepcopy and used only through fit and predict. scikit-learn and SciPy are needed only to run the tests.

Methods

Table 1 lists what version 0.1.6, the current release, contains.

Algorithms

This section describes the algorithmic changes and, for each, what it gains. Unless we say otherwise the output is identical to that of the slower computation, so coverage and interval length do not change and the gain is in time and memory. Two changes, to CIR and CIR+, alter the output, and there the gain is validity. Times are from Table 4 and peak memory from Table 13. Memory was measured for four methods only; where it was not measured we say so.

MethodAgainstTheirsOursFactorSame
Venn–Abers, 106/10610^{6}/10^{6}venn-abers, MAPIE75.0 s0.366 s205yes
Venn–Abers, 105/10610^{5}/10^{6}venn-abers2.32 s0.079 s29yes
CPS intervals, 105/10610^{5}/10^{6}crepes79.2 s0.0098 s8,100yes
CPS CRPS, 5,000/5,000crepes0.309 s0.00047 s656yes1
Split regression, 2×105/1062 \times10^{5}/10^{6}PUNCC, MAPIEcrepes4.2–8.9 ms1.9 ms2–5yes
CQR, 105/10610^{5}/10^{6}MAPIE; PUNCC19.7; 10.5 ms3.2 ms6; 3yes
CTIauthors’ code431 ms23 ms19yes
CIR; CIR+authors’ code1.85; 2.93 s0.12; 0.14 s16; 22yes; no
CV+ predictionMAPIE1.95–4.99 s0.12–0.18 s17–27coverage
APS, RAPS, SAPS (Table 10)TorchCP, MAPIE, PUNCC0.016–1.9 s0.008–0.36 s2–7see2
Quantile forest, fit3quantile-forest11.5–215 s1.9–27 s6–9loss
MSTL, 10510^{5} points (Table 12)statsforecast; R forecast19.3 s; —0.098 s197d197^{d}; 5yes
ACI, replayMAPIE0.41 ms/step0.2 μ\mus/step∼\sim2,000coverage
ACI, one row at a timeMAPIE0.57 ms/step0.09 ms/step6–8coverage
ACIauthors’ code114 μ\mus/step0.40 μ\mus/step286n/c
Conformal PIDauthors’ code10–14 μ\mus/step0.09–0.13 μ\mus/step106–112yes
DtACI, update stepauthors’ R code41 μ\mus/step0.62 μ\mus/step66n/a
EnbPI, replayMAPIE5,454 μ\mus/step11.6 μ\mus/step400–4704coverage
EnbPI, one row at a timeMAPIE5,800 μ\mus/step2,200 μ\mus/step2.5coverage
SPCIpaper’s loop29 ms/step3.3 ms/step9n/c
Multi-step splitR scp42 s0.010 s>4,000yes
AcMCP, no scorecaster, 1,000 × 6R acmcp3.9 s0.8 ms∼\sim5,000yes
AcMCP, with scorecaster, 1,000 × 6R acmcp107 s2.5 s43close

Table 4. Speed against other packages and against code released with the papers. “Same” means the outputs were compared and found equal.

Table 13: Peak extra memory of one call, in megabytes (memory.py). Each case runs in a fresh process; inputs are built and compiled kernels warmed first, then the peak-memory counter of the process is reset and read after the call. One run on 26 November 2026.

CallAgainstCalibration / testTheirsOursRatio
CV+ prediction, 10 foldsMAPIE2,000a^{a} / 20,0001,3003.2406
5,000a^{a} / 20,0003,0573.2955
CPS, 90% intervalscrepes10410^{4} / 10510^{5}20.13.16
10510^{5} / 10610^{6}19731.56
CPS, distribution functioncrepes10410^{4} / 10510^{5}6.95.51.3
10510^{5} / 10610^{6}55.854.41.0
CPS, CRPScrepes5,000 / 5,0003830.4956
Venn–Abers, fit and predictvenn-abers10510^{5} / 10610^{6}59.138.21.5
10610^{6} / 10610^{6}1551111.4
Table 13.

Venn–Abers. An inductive Venn–Abers predictor fits isotonic regression twice for each test score, once with the test object labelled 0 and once labelled 1. Vovk et al. [46] showed that all test points can be served from precomputed structures. Existing code recomputes slopes to all remaining points at each corner of the fit, which is quadratic on realistic scores. Our kernel works on the cumulative-sum diagram: calibration points with equal scores are pooled into one group, and vertex jj is the pair (number of points, number of positive labels) in the first jj groups, so every vertex has integer coordinates. Adding a test point with label yy to group gg shifts the vertices after gg by (1,y)(1,y), and the isotonic fit at the test point is the slope of the common tangent between the lower hull of vertices 0..g0..g and the lower hull of the shifted vertices after gg. A single hull of the whole diagram is not enough, because vertices hidden by it can become extreme once the diagram is cut. We therefore store both families of hulls, for every prefix and every suffix, as predecessor and successor pointers built by two Graham scans, and find each tangent by walking the two chains from the cut. Cross-products of integer coordinates are bounded by (n+1)2(n+1)^2 and are exact in 64-bit integers; the only floating-point operation is the final division, so no numerical warnings arise. On typical data the cost after sorting is linear. We have no worst-case bound for the walks (Table 17 gives stress cases), and we claim an improvement over existing code, not over the algorithm of [46]. The method matters in practice: in a comparison of five calibrators across 21 classifiers, Venn–Abers gave the largest average reduction in log loss [29]. What it gains. The probabilities are identical to those of venn-abers and MAPIE in every run. With a million calibration and a million test points the kernel takes 0.37 seconds against 75 seconds (205 times faster); the factor is 11–29 at 10410^4–10510^5 calibration points and 3–6 when scores are heavily tied. Peak memory is about the same as the reference, 111 against 155 megabytes at a million points, so the gain here is time, not memory.

Configurationn=105n = 10^{5}n=106n = 10^{6}Ratio
Continuous scores, informative0.0350.48914.0
Pure noise0.0300.39113.0
Anti-correlated0.0180.25414.0
Perfectly separated0.0130.23718.1
Labels alternate in score order0.0160.24414.8
Blocks of n\sqrt{n} equal labels0.0160.27117.1
Ten distinct scores0.0050.05911.4
All scores equal0.0020.01911.3
Geometrically spaced scores0.0050.06412.0

Table 17. Venn–Abers on stress configurations: seconds for calibration on nn points plus prediction for nn points. A ratio of 10 would be exactly linear; sorting accounts for part of the excess. The output was compared with venn-abers on 3,000 calibration points per configuration and was identical in every case.

Online methods. ACI and its relatives need, at each step, the kk-th smallest of a set of scores that gains one element and may lose one, with kk changing. When a history is replayed with run, all its scores are known, so we rank them once and keep a Fenwick tree [12] of counts over ranks; each step is then O(log⁡n)O(\log n) and does not grow with the history, and the model is called once for all rows. Live use is different: update cannot rank scores it has not seen, so it keeps the current window as a sorted list and inserts each new score by binary search, which costs O(log⁡n)O(\log n) comparisons and a memory move of up to nn numbers. The two paths are tested to give the same thresholds. For the non-exchangeable method the tree holds real-valued weights in place of counts; the weight of a score is stored relative to a moving origin, so the newest scores have the largest stored values and nothing underflows over long streams. What it gains. Replaying a history with ACI costs 0.2 μ\mus per step against 0.41 ms in MAPIE (about 2,000 times faster) and 0.40 against 114 μ\mus in the code released with the ACI paper (286 times). Conformal PID is 106–112 times faster than its authors’ code with identical output, and the DtACI update is 66 times faster than the authors’ R code. In live use, one row at a time, the model call dominates and the factor against MAPIE is 6–8. The cost per step no longer grows with the length of the history, which is what makes backtests over millions of steps practical. Memory was not measured.

Predictive systems. A conformal predictive distribution for a test point is the set of calibration scores shifted (and, if normalised, scaled) by the point’s prediction. A quantile is one lookup in the sorted scores, the distribution function is a binary search, and the CRPS has a closed form in terms of prefix sums. The ntest×ncaln_{\mathrm{test}} \times n_{\mathrm{cal}} matrix is never formed. For the distribution with mass 1/n1/n on each point y^+σci\hat{y}+\sigma c_i,

CRPS⁡(y)=1n∑i=1n∣σci−(y−y^)∣−σ2n2∑i,j∣ci−cj∣.\operatorname{CRPS}(y)=\frac{1}{n}\sum_{i=1}^{n}\left|\sigma c_i-(y-\hat{y})\right|-\frac{\sigma}{2n^2}\sum_{i,j}\left|c_i-c_j\right|.

The second sum does not depend on the test point and is computed once from the sorted scores; the first needs one binary search and two prefix sums. Both terms scale with σ\sigma exactly once. The crepes code evaluates the same integral piece by piece and multiplies the two pieces next to the outcome by σ\sigma although they are already in outcome units, which is the fault in Table 2. What it gains. Accuracy is not traded for speed: quantiles and distribution values are identical to those of crepes, and the CRPS is identical wherever crepes is correct. Intervals for a million test points take 0.01 seconds against 79 seconds (8,100 times faster), the distribution function at the outcomes is 556 times faster and the CRPS 656 times. Peak memory for the intervals is 32 against 197 megabytes at 10510^5 calibration and 10610^6 test points, and for the CRPS at 5,000 by 5,000 it is 0.4 against 383 megabytes, because crepes holds the full matrix. For the distribution function the two packages use the same memory (54 and 56 megabytes).

Prediction sets. APS, RAPS and SAPS need, per row, classes in order of decreasing probability up to the point where the set closes. We select the top mm classes with a heap and extend only when needed, instead of sorting all classes, and use one routine for both the calibration label and the full set, which removes the possibility of the two disagreeing. What it gains. APS, RAPS and SAPS run 2–7 times faster than in TorchCP, MAPIE and PUNCC (Table 10); LAC sets are identical across packages. Because calibration and prediction share one routine and each row is handled on its own, a row gets the same set whether it is predicted alone or in a batch, which is not so in every audited library (PUNCC’s APS and RAPS, § 7). Memory was not measured against the other packages.

Method, package10 classes100 classes1,000 classes
LAC, ours0.909 / 1.23 / 0.0010.905 / 7.58 / 0.0110.897 / 78.7 / 0.062
LAC, TorchCP0.909 / 1.23 / 0.0070.905 / 7.58 / 0.0180.897 / 78.7 / 0.146
LAC, MAPIE0.909 / 1.23 / 0.0100.905 / 7.58 / 0.0640.897 / 78.7 / 0.293
LAC, PUNCC0.909 / 1.23 / 0.1330.905 / 7.58 / 0.3210.897 / 78.7 / 0.895
APS randomised, ours0.899 / 1.73 / 0.0080.901 / 8.38 / 0.0660.899 / 78.4 / 0.364
APS randomised, TorchCP0.907 / 1.76 / 0.0170.900 / 8.41 / 0.2760.899 / 78.7 / 1.696
APS randomised, PUNCC0.901 / 1.74 / 0.1290.899 / 8.37 / 0.2930.899 / 78.4 / 1.139
APS default, MAPIE0.975 / 2.05 / 0.0430.923 / 9.07 / 0.3090.900 / 78.9 / 1.832
RAPS randomised, ours0.899 / 1.73 / 0.0100.902 / 8.18 / 0.0610.896 / 79.5 / 0.267
RAPS randomised, TorchCP0.907 / 1.76 / 0.0180.902 / 8.21 / 0.2250.896 / 79.7 / 1.661
RAPS default, MAPIE0.969 / 2.11 / 0.0470.916 / 10.26 / 0.386error
SAPS randomised, ours0.902 / 1.65 / 0.0080.904 / 8.60 / 0.0400.896 / 81.1 / 0.278
SAPS randomised, TorchCP0.903 / 1.65 / 0.0180.905 / 8.71 / 0.2460.897 / 81.3 / 1.874
SAPS not randomised, ours0.906 / 1.90 / 0.0080.904 / 8.62 / 0.0450.896 / 81.0 / 0.257
SAPS not randomised, TorchCP0.338 / 0.63 / 0.0160.904 / 8.62 / 0.2930.896 / 81.0 / 1.774

Table 10. Prediction sets at a 90% target: coverage / mean set size / seconds, for 5,000 calibration points and 50,000 test points (20,000 for 1,000 classes) (speed_classification.py). RAPS uses penalty 0.01 and kreg=5k_{\mathrm{reg}} = 5, SAPS weight 0.2. MAPIE’s RAPS needs two calibration points in every class and raised an error with 1,000 classes. Single runs; coverage carries sampling noise of about ±0.002\pm0.002.

Jackknife+ and CV+. With KK folds, every training point in fold mm is scored by the same model, so for a test point the nn candidate endpoints μ^−m(i)(x)±Ri\hat{\mu}_{-m(i)}(x) \pm R_i are KK sorted lists of residuals, each shifted by one number. The endpoint is an order statistic of their union, which we find by pivoting with binary searches inside the lists. Memory is the ntest×Kn_{\mathrm{test}} \times K array of fold predictions, not the ntrain×ntestn_{\mathrm{train}} \times n_{\mathrm{test}} matrix that other implementations build. For the jackknife+ (K=nK=n) each list has one element and the fold predictions are themselves ntest×ntrainn_{\mathrm{test}} \times n_{\mathrm{train}}, so the saving in memory applies to CV+ only. What it gains. CV+ prediction is 17–27 times faster than in MAPIE with the same coverage. For 20,000 test points and 10 folds the call needs 3 megabytes of extra memory, whatever the training size; MAPIE needs 1.3 gigabytes with 2,000 training points and 3.1 gigabytes with 5,000, about 400 and 950 times more. On our 7-gigabyte machine MAPIE was killed for lack of memory at 20,000 training points, while pyconformal ran with 100,000.

Quantile forest. Trees are grown on binned features in parallel. At prediction time rows are routed through each tree in blocks, following only rows that have not reached a leaf, and leaf contents are merged by a bucket sort on outcome ranks. An approximate mode that keeps one training sample per leaf is available. What it gains. At equal pinball loss the fit is 6–9 times faster than quantile-forest: 1.9 against 11.5 seconds with 100,000 training rows and 27 against 215 seconds with a million, on 16 cores. The approximate mode halves prediction time and stores one outcome per leaf in place of all of them; it costs 2.6% in interval length, and coverage after calibration is unchanged (Table 18). The memory of the forest was not measured.

ModeRaw coverageCoverage after CQRLength after CQRPinball lossPredict (s)
Exact0.9000.901 (0.002)3.705 (0.014)0.1379 (0.0008)0.144
One sample per leaf0.8950.902 (0.001)3.802 (0.012)0.1402 (0.0008)0.074

Table 18. Quantile forest: exact leaves against the approximation that keeps one training sample per leaf. CQR on the forest’s 5% and 95% quantiles at a 90% target; 15,000 training, 5,000 calibration and 10,000 test points, heteroscedastic Student-t4t_{4} noise, 100 trees, 10 repetitions (standard errors in brackets).

Quantile models from boosting libraries. CTI and CIR need many quantile levels from one model, which the boosting libraries do not give through one interface. QuantileBooster trains the levels with CatBoost or XGBoost (one model for all levels) or LightGBM (one model per level), sorts the quantiles so that they never cross, and hands the grid to the conformal step. It is a wrapper, not a new learning algorithm. What it gains. Shorter intervals than a forest on medium and large data: on four datasets (Table 14) a booster gave the shortest CQR intervals in every case, 4–27% shorter than those from Zillow’s quantile-forest, at coverage between 89.4% and 90.5%. They take 20–40 times longer to train than our forest, and on small data (221 training rows) the forest was better.

Table 14: Quantile models compared (quantile_models.py): pinball loss of the raw quantiles, and mean interval length after CQR and CIR+ at a 90% target. Five random splits per dataset, half the rows for training and a quarter each for calibration and test; 100 trees for the forests, 300 rounds for the boosters; 2 cores. Coverage after calibration was between 89.4% and 90.5% in every row. The three boosters are called through QuantileBooster. Best value per dataset in bold.

DatasetModelPinballCQRCIR+Fit (s)Predict (s)
California housingquantile-forest (Zillow)0.1291.871.431.50.14
QuantileForest0.1241.701.410.230.08
CatBoost0.1191.361.386.40.02
XGBoost0.1231.491.409.20.28
LightGBM0.1161.361.347.10.98
kin8nmquantile-forest (Zillow)0.0480.5730.5320.650.07
QuantileForest0.0450.5410.5130.110.03
CatBoost0.0350.4270.4594.20.01
XGBoost0.0450.5290.5577.00.11
LightGBM0.0380.5290.5275.20.47
Synthetic, skewedquantile-forest (Zillow)0.4555.024.701.50.14
QuantileForest0.4544.984.620.200.08
CatBoost0.4524.774.685.50.02
XGBoost0.4534.684.488.00.28
LightGBM0.4544.564.596.50.78
Synthetic, two modesquantile-forest (Zillow)0.8246.747.611.80.14
QuantileForest0.8216.678.080.210.08
CatBoost0.8256.587.385.50.02
XGBoost0.8136.506.717.70.27
LightGBM0.8256.446.596.30.74

Table 14.

Multi-step methods. Multi-step split conformal prediction is a per-horizon rolling threshold with a lag of hh steps; it reuses the online kernel. AcMCP refits an MA(qq) model with q=h−1q = h - 1 at every step. We evaluate the exact Gaussian likelihood with the innovations algorithm [7], which settles to O(q)O(q) per observation once its coefficients converge, and start each fit from the previous solution and inverse Hessian, restarting from zero every fifth fit to avoid following a local optimum. What it gains. Time only. These are the published methods, so coverage and interval length are those of the R implementation: the intervals are identical for multi-step split conformal prediction (0.010 against 42 seconds, more than 4,000 times faster) and for AcMCP without the scorecaster (0.8 milliseconds against 3.9 seconds, about 5,000 times). With the scorecaster the time is 2.5 against 107 seconds (43 times) and the intervals agree to a median of 10−510^{-5}, the difference between two iterative optimisers. Memory was not measured; both implementations hold the history and little else.

CIR and CIR+. Let q^0(x)≤⋯≤q^K(x)\hat{q}_0(x) \le\cdots\le\hat{q}_K(x) be the predicted quantiles and W1(x)⊂W2(x)⊂⋯⊂WK(x)W_1(x) \subset W_2(x) \subset\cdots\subset W_K(x) the windows obtained by starting from the shortest interquantile interval and adding, at each step, the shorter of the two neighbouring intervals. For CIR the score of (x,y)(x,y) is s(x,y)=min⁡{k:y∈Wk(x)}s(x,y) = \min\{k : y \in W_k(x)\}, and K+1K + 1 when yy lies outside [q^0(x),q^K(x)][\hat{q}_0(x), \hat{q}_K(x)]. With s^\hat{s} the conformal quantile of the calibration scores, the prediction set is Ws^(x)W_{\hat{s}}(x), or the whole line when s^=K+1\hat{s} = K + 1. Because the windows are nested, y∈Ws^(x)y \in W_{\hat{s}}(x) exactly when s(x,y)≤s^s(x,y) \le\hat{s}, so the usual rank argument gives coverage at least 1−α1 - \alpha. The authors’ code predicts with the shortest run of s^\hat{s} consecutive intervals instead; that window need not contain Ws^(x)W_{\hat{s}}(x), the equivalence fails, and coverage can be lost (Table 20).

OutcomeTargetCQRCIR (default)CIR, authors’ ruleCIR+CTI
Skewed (gamma)90%.900(1) / 5.59.906(1) / 5.12.905(1) / 5.11.901(1) / 5.04.899(1) / 4.95
80%.802(1) / 4.30.806(1) / 3.84.802(1) / 3.78.801(1) / 3.79.801(1) / 3.86
Symmetric (normal)90%.900(1) / 4.23.904(1) / 4.35.902(1) / 4.31.900(1) / 4.29.900(1) / 4.26
80%.799(1) / 3.26.804(1) / 3.36.800(1) / 3.29.799(1) / 3.33.800(1) / 3.39
Bimodal (two normals)90%.900(1) / 7.00.906(1) / 7.60.883(1) / 6.95.901(1) / 7.57.900(1) / 4.85
80%.801(1) / 6.29.806(1) / 7.10.769(1) / 6.16.802(1) / 7.08.800(1) / 3.81

Table 20. Interval methods on predicted quantiles: coverage and mean length, with standard errors in the last digits in brackets. 500 calibration points, 300 repetitions of 2,000 test points. “CIR, authors’ rule” is window="shortest"; for CTI the length is the total length of the set. On the bimodal outcome the authors’ rule under-covers; we confirmed the same numbers with the authors’ own code (0.883 and 0.767).

For CIR+ let ek(x)∈[0,1)e_k(x) \in[0,1) be the length of the interval added at step kk divided by the predicted range q^K(x)−q^0(x)\hat{q}_K(x) - \hat{q}_0(x). The score is s(x,y)=(k−1)+ek(x)s(x,y) = (k - 1) + e_k(x) with kk as above, and K+eK + e for a fixed ee just below 1 when yy is outside the range. Writing f=⌊s^⌋f = \lfloor\hat{s} \rfloor, the prediction set is Wf(x)W_f(x), enlarged to Wf+1(x)W_{f+1}(x) when f+ef+1(x)≤s^f + e_{f+1}(x) \le\hat{s}. Again yy is in the set exactly when s(x,y)≤s^s(x,y) \le\hat{s}: either k≤fk \le f, or k=f+1k = f + 1 and the added interval is short enough. The score depends on (x,y)(x,y) and on the fitted quantile model only, so calibration and test scores are exchangeable. The authors’ code divides by 100 times the largest calibration outcome, a quantity computed from the calibration labels and not from the test point, and its final comparison runs the other way (the extra interval is added when ee is larger than the fractional part of s^\hat{s}).

What it gains. Validity first. On a bimodal outcome the authors’ rule covers 88.3% at a 90% target and 76.9% at 80%; ours covers 90.6% and 80.6% (Table 20). The price is longer intervals on that outcome (7.60 against 6.95), because the shorter ones were not valid; on skewed and symmetric outcomes the two rules differ by 1–2% in length. Speed second: the authors’ code grows the window of each sample in a Python loop, and ours grows all windows together in one compiled pass, 0.12 against 1.85 seconds for CIR (16 times faster) and 0.14 against 2.93 seconds for CIR+ (22 times). With window="shortest" the package reproduces the authors’ CIR intervals. Memory was not measured.

CTI. The method is that of [26] and we did not change it: the score of a calibration point is the length of the interquantile interval that holds its outcome, and the prediction set is every interval no longer than the calibrated threshold. The implementation finds each outcome’s interval and builds the sets in one compiled pass, and sorts the predicted quantiles only in rows where they cross. What it gains. Time: 23 against 431 milliseconds for 20,000 calibration and 200,000 test points with 100 intervals (19 times faster than the authors’ code), with identical sets. The statistical gain belongs to the method, not to us: on a bimodal outcome its sets, which may be unions of intervals, are 30–40% shorter than any single interval (Table 20).

STL and MSTL. A direct implementation of the loess recursions with the jump parameters of the original Fortran. Results match R’s forecast::mstl to 10−1410^{-14}. What it gains. An hourly series of 10510^5 points is decomposed in 0.098 seconds against 19.3 seconds in statsforecast at its default settings (197 times faster), because statsforecast evaluates every smoother at every point by default; at equal settings the factor is 6–7, and against R it is about 5 (Table 12).

Verification

Each method is tested at three levels.

  1. Against its definition. A short, slow reference written from the paper, compared value by value: for example a 20-line ACI from [14] identical at every step for 128 parameter combinations, and Venn–Abers against the max–min formula in exact fractions on 300 problems with ties.

  1. Against reference code, where it exists: identical output to venn-abers, crepes (quantiles and distribution values), MAPIE and PUNCC (CQR), the CTI authors’ code, the CIR authors’ code (with window="shortest"), R’s forecast::mstl, and R’s scp and acmcp (the latter exactly without the scorecaster, and to a median difference of 10−510^{-5} with it; see § 9).

  1. Against the guarantee. Coverage over repeated draws at small calibration sizes, where an off-by-one rank is visible; the long-run bound of [14] on adversarial sequences; uniformity of the probability integral transform for predictive systems.

At the time of writing the suite has 365 tests, of which 32 need optional reference packages and are skipped without them; it runs with warnings treated as errors, with and without Numba. Every experiment in this paper fixes the seed of its data. Where another package draws its own random numbers from NumPy’s global state, as PUNCC does for randomised sets, a rerun reproduces the figures up to sampling noise and not digit for digit. Appendix B gives the data-generating process, sizes and software versions of each.

Audit of existing software

We tested thresholds and coverage in each of the thirteen packages, on the tasks it supports, and read five libraries module by module: MAPIE 1.6.0, crepes 0.9.1, PUNCC 0.9.3, TorchCP 1.2.1 and conformal-tights 0.5.0. All versions were the latest releases on PyPI in the week of 20 to 25 November 2026. In those five libraries every fault was traced to a line of source, reproduced by a script that uses only the package concerned, and checked against the package’s development branch. Unless stated, data are independent and identically distributed, and models are fixed or their outputs are passed in directly, so that a coverage gap can only come from the conformal step. For each library the repository holds a report that lists what was read line by line, what was only run, and what was not covered (benchmarks/mapie_audit, crepes_audit, puncc_audit, torchcp_audit, conformal_tights_audit).

Faults that break the guarantee or a reported number

Table 2 lists them. Two mechanisms are worth separating here; the fault in TorchCP’s SAPS is explained in the next subsection.

Too few calibration points, and no warning. With nn calibration errors the largest one covers with probability n/(n+1)n/(n+1), so no finite interval reaches 90% unless n≥9n \ge9. The correct answer with fewer errors is an infinite interval, or a refusal. Both statsforecast and mlforecast default to n=2n = 2 and return a finite interval labelled 90% that cannot cover more than about 2/32/3 of the time. Darts with a calibration length of 3 returns the largest residual, which cannot cover more than 3/43/4. These intervals are incorrect, and none of the three packages tells the user: we ran each with Python warnings switched on and none was raised.

An uncorrected quantile. For n≥9n \ge9 the remaining shortfall in statsforecast and mlforecast comes from taking the ordinary empirical 90% quantile of the errors (linear interpolation, as in numpy.quantile) in place of the ⌈(n+1)(1−α)⌉\lceil(n+1)(1-\alpha)\rceil-th smallest. For exchangeable errors this covers about (1+0.9(n−1))/(n+1)(1 + 0.9(n - 1))/(n + 1) (exactly if the errors are uniformly distributed, approximately otherwise): 0.83 at n=10n = 10, 0.86 at n=20n = 20, 0.88 at n=50n = 50, in line with Table 7. The statsforecast behaviour had been reported by a user before our audit (issue 1349) and the default was not changed.

Calibration windowsstatsforecast distributionstatsforecast errormlforecast distributionmlforecast error
2 (default)0.6340.6450.6340.645
50.7760.7810.7730.781
100.8230.8300.8240.832
200.8600.8620.8620.865

Table 7. Coverage of statsforecast 2.1.1 and mlforecast 1.1.0 conformal intervals at a nominal 90% on 4,000 independent series (nixtla_coverage.py), and of a plain empirical quantile against the exact rule in simulation (exact_rule_simulation.py). “Distribution” and “error” are the two options of these packages, conformal_distribution (signed errors) and conformal_error (absolute errors). The plain quantile uses linear interpolation.

Five libraries module by module

Table 3 lists what the module-by-module reading found, in addition to the two items of Table 2 that concern TorchCP and crepes. The last column says whether the fault was already on the project’s issue tracker when we looked; “no” means we found no report among the issue titles on that date, which is not proof that nobody reported it.

Five patterns recur, and they are worth more than the list.

A clipped level. In adaptive conformal inference the working level moves by a fixed step after every outcome and is allowed to leave [0,1][0,1]; at or below zero the interval is the whole line. The guarantee of [14], a long-run miss rate within (max⁡(α1,1−α1)+γ)/(γT)(\max(\alpha_1, 1-\alpha_1)+\gamma)/(\gamma T) of the target for any sequence, needs every miss to lower the level by the full step. MAPIE and TorchCP both clip the level. A miss near the boundary is then charged less than a full step, and on a drifting series the next interval can miss again. On stationary and mildly dependent data the clip rarely binds (on i.i.d. data the clipped loop missed 10.1% and the unclipped one 10.0%), which is why ordinary tests do not show it. Validity under any drift, the property that distinguishes the method, is the part that is lost. Our implementation does not clip, and returns infinite intervals when the algorithm calls for them.

An object that is its own neighbour. Normalised conformal regression divides residuals by a difficulty estimate, often built from nearest neighbours. If the neighbours of a calibration object are searched in a set that contains the object, its difficulty is computed from its own residual and its normalised score is too small. The crepes package does this in the out-of-bag recipe of its own notebook, and TorchCP does it when NorABS is used as its docstring describes. Both give 83.6% at a 90% target with five neighbours.

Calibration and prediction that disagree. TorchCP’s non-randomised SAPS (below), MAPIE’s APS and RAPS with include_last_label=False, and TorchCP’s language-model predictor with a scaler all score calibration data one way and test data another. The rank argument needs the same score on both sides.

Results that depend on how predict is called. PUNCC’s APS and RAPS return different sets for the same row depending on how many other rows are in the call. In conformal-tights the quantiles returned differ depending on whether an interval was requested first.

A conformal step that is not there. TorchCP’s CQR-R and conformal-tights on fewer than 1,414 rows return what is in effect an uncorrected model output under a conformal name. For conformal-tights the project page lists “requires only a small number of calibration examples” among its features; the package’s own coverage test passes at 97% of the requested level.

Two scores for one class. TorchCP’s non-randomised SAPS gives the top-ranked class a calibration score of 0 and a prediction score of pmax⁡p_{\max}; all other ranks agree. When the true label is the top class on more than a fraction 1−α1-\alpha of calibration points, the threshold is 0 or close to it, and at prediction time even the top class is excluded whenever pmax⁡p_{\max} exceeds it. When top-1 accuracy is well below 1−α1-\alpha the threshold is set by the higher ranks, where the two scores agree, and the fault is invisible. That is why Table 10 shows 34% coverage with 10 classes and correct coverage with 100 and 1,000, where the mean set holds 9 and 81 classes. The figures in Table 2 come from a separate run with 10 classes in which accuracy was varied through the scale of the logits (Appendix § 12).

A later, wider test of the same option found that once top-1 accuracy passes the target level the sets are empty: coverage 0.0% at accuracies of 0.93 and 0.98.

The second calibration stage of conformal-tights. The package fits a non-crossing linear quantile regression on 70% of its calibration rows and then shifts each quantile by a constant estimated on the other 30%. Three things weaken that shift. It is applied only if those 30% hold at least 128 rows, which needs 1,414 training rows; between 425 and 1,413 rows the 30% are set aside and then not used at all. It is an ordinary empirical quantile, without the finite-sample correction, and it ignores sample weights. And for levels between the lowest and the highest it is clipped, to keep the lines from crossing on the calibration points: on 16 fits with 5,000 rows the data asked for shifts of 0.035 to 0.052 residual standard deviations at the levels 0.25 to 0.75, and shifts of 0.005 to 0.019 were applied. The interval finally returned is, for each test point, the narrower of one built from absolute residuals and one built from relative residuals. Each of the two is close to its target when there are enough rows; choosing the narrower point by point is not. To be fair to the method: with 5,000 rows its intervals had a better interval score than split conformal and CQR built on the same data on four of five datasets. It trades one to five points of coverage for sharpness, and does not say so.

Smaller items. In crepes the code takes the ⌊(n+1)(1−c)⌋\lfloor(n+1)(1-c)\rfloor-th largest residual for confidence cc; at c=0.9c=0.9 the product falls just below a whole number when n+1n+1 is a multiple of ten (§ 3.1), so it uses one rank too high in 40 of the 1,240 cases of Table 6 and returns an infinite interval for n=9n=9. PUNCC raises a TypeError with a single calibration point (the ten errors in Table 6; at two of them a finite interval is valid) and its EnbPI raises one when residuals are updated after every observation. Nixtla’s conformalforecast refuses a level when nn is exactly the smallest size at which it is feasible, for example 9 points at 90% (the ten refusals in Table 6). MAPIE’s RAPS failed with 1,000 classes and 5,000 calibration points because it splits the calibration data by class and needs two points in every class; this is an error message, not a coverage fault. R’s scp takes one rank too high at a few calibration sizes, and the default integrator scale in R’s acmcp is the largest error of the whole history, which includes errors not yet observed.

PackageExact, finiteInfiniteRefused, none validToo narrowToo wideRefused, one validError
pyconformal1,05618400000
TorchCP 1.2.11,05618400000
MAPIE 1.6.01,05601840000
PUNCC 0.9.31,054017600010
conformalforecast 0.1.0 (Nixtla)1,046018400100
crepes 0.9.11,016184004000

Table 6. The split-conformal threshold over 1,240 cases: n=1,…,120,199,200,999,1000n = 1, \ldots, 120, 199, 200, 999, 1000 crossed with α∈{0.01,0.02,0.05,0.1,0.15,0.2,0.25,0.3,0.5,0.9}\alpha\in\{0.01, 0.02, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.5, 0.9\} (exactness.py). In 184 of the cases no finite interval is valid; a package may then return an infinite interval or refuse, and both are safe. Each package is called through its public interval method, except TorchCP, whose threshold function is called directly. The entries are explained in § 7.

Further small items. MAPIE: SplitConformalRegressor raises a consistency error on float32 inputs with targets centred near zero (200 of 200 random datasets; reported in 2023 and 2024 and closed with a workaround); allow_infinite_bounds=True is ignored with the default symmetric score; spiegelhalter_p_value is one-sided. crepes: the rank is computed in floating point and is one too high at about a tenth of calibration sizes at a 90% level and a fifth at 80%, which widens intervals and never narrows them; WrapRegressor.fit returns None. TorchCP: the ACI miss indicator counts a value exactly on the bound as a miss; ACIPredictor.train calibrates on the training data. conformal-tights: quantiles cross on 0.2% of new points with five levels, because the constraint is imposed on calibration points only, and up to 1% of returned intervals have their lower end above their upper end on small samples; the first quantile prediction with five levels on 5,000 rows takes about 50 seconds, because the non-crossing fit is a linear programme solved at prediction time.

What was correct

The basic routines of the four main libraries are sound. MAPIE’s split, cross and jackknife regression, CQR and LAC met their target in 78 of 84 configurations and refused to run in the other six because the calibration set was too small, which is safe; its two shared quantile functions returned the exact conformal rank in 37,581 of 37,581 cases, and its public interval call refuses a level that the calibration set cannot support. Its conformal risk control, its RCPS with Hoeffding and Bernstein bounds, its conditional conformal regressor, its exchangeability tests and its calibrators all behaved as documented. The crepes package met its level in all 114 coverage settings for standard, normalised and Mondrian regressors, predictive systems and classifiers; its p-values are uniform and its online mode agrees with a batch refit. On PUNCC’s regression side every method met its level and the threshold was the exact rank at all 9,835 sizes tested; LAC, class-wise LAC and anomaly detection were correct. TorchCP’s rank was exact in 9,835 of 9,835 cases and its classification scores with the split predictor covered 89.7% to 89.9% at 90%, with no dependence on batch size; its class-conditional predictor, p-values, graph scores and predictive distribution were correct. The packages venn-abers 1.5.4 and online-cp 0.4.0 were correct on everything tested.

Valid but larger than needed

MAPIE’s default APS and RAPS are not randomised and covered 97.5% and 96.9% at a 90% target with 10 classes, with sets about 20% larger than the randomised versions. PUNCC’s non-randomised APS covered 99.2% in our coverage suite (it is not part of Table 10). These are choices, not errors, but the defaults cost efficiency. Three items of Table 3 belong here too: TorchCP’s ClusteredPredictor and WeightedPredictor keep coverage and return sets far larger than the methods they are named after, and MAPIE’s default Holm procedure keeps validity and often returns no threshold for a target the model can reach.

Limits of the audit

Coverage tests use synthetic data, except that conformal-tights was also run on eight public datasets. Parts not covered are listed in each report; the main ones are MAPIE’s semantic-segmentation controller and experimental module, PUNCC’s deep-learning backends, TorchCP’s language-model module with a real language model, and conformal-tights’ issue tracker. All findings are for the versions named, on the dates named; later releases may differ. The fault in MAPIE’s RCPS bound was first described by an outside contributor in a pull request to that project; we found it independently from the code and learned of the pull request afterwards.

Benchmarks

Timings are from a 2-core Linux machine with Numba installed, single runs or best of three, on 20–21 November 2026. Appendix B lists the environment and the controls applied, and Appendix C reports further experiments: latency one row at a time with a model of controlled cost, stress cases for Venn–Abers, the approximate forest mode, very large label sets, and an ablation of CIR.

Table 4 gives the main results; Appendix A has the full tables. Six qualifications matter.

Replay and live use are different measurements. For ACI and EnbPI the large factors against MAPIE are for replaying a history whose forecasts or features are all available, which is what a backtest does: pyconformal calls the model once for all rows. MAPIE’s interface calls the model at every step. When both are fed one row at a time, the cost of a single-row model call dominates and the factors are 6–8 for ACI and about 2.5 for EnbPI. Both rows are in the table and neither should be quoted without its label. To separate the conformal step from the model, Table 16 repeats the one-row-at-a-time measurement with a stub model of zero and of fixed cost: with a zero-cost model the median step takes 620 μ\mus in MAPIE and 9 μ\mus in pyconformal.

Method, modelPackageMedian95th pct.99th pct.Max
ACI, zero-cost modelMAPIE6209431,0543,641
pyconformal9.310.928.9164
ACI, model costing 100 μ\mus per callMAPIE6959021,2282,944
pyconformal111128156575
EnbPI, 30 linear modelsMAPIE5,7378,23010,37813,871
pyconformal2,0802,7424,5156,434

Table 16. Latency of one step, one row at a time, in microseconds (predict, then update). The model is a stub that returns its input and optionally waits a fixed time, so that the remaining time is the conformal step. 3,000 steps for ACI, 500 for EnbPI.

Venn–Abers gains depend on the scores. In the run of Table 8 the factor is 205 at a million calibration points with continuous scores, 11–29 at 10410^{4}–10510^{5}, 6–17 on uninformative or anti-correlated scores, and 3–6 when scores are rounded to two decimals. Without Numba it is 25 at a million points. Timings of the reference at this size varied between runs (61.5 and 75.0 seconds); elsewhere we quote the lower factor from the faster run, 188.

Table 8: Venn–Abers, fit plus predict, in seconds (speed_venn_abers.py). Outputs are identical in every row. One run on 21 November 2026; the last column is the reference time divided by ours with Numba.

ScoresCalibrationTestvenn-abersMAPIEOursOurs, no NumbaFactor
Realistic10410^410510^50.0870.0860.00810.02811
Realistic10510^510610^62.3172.2580.07930.25129
Realistic10610^610610^674.9675.650.36622.985205
Rounded (2 decimals)10410^410510^50.0150.0150.00330.0045
Rounded (2 decimals)10510^510610^60.1440.1260.02540.0276
Rounded (2 decimals)10610^610610^60.1830.2230.06870.1003
Pure noise10410^410510^50.0490.0490.00780.0246
Pure noise10510^510610^60.6310.6300.09020.2867
Pure noise10610^610610^65.1734.2100.47173.86511
Anti-correlated10410^410510^50.0540.0510.00630.0179
Anti-correlated10510^510610^60.5920.6180.09040.2577
Anti-correlated10610^610610^64.8565.3950.29392.15717

Table 8.

Memory. Table 13 gives the peak extra memory of one call for the four methods we measured. The large reductions are where another package builds a matrix that is not needed: CV+ prediction (3 megabytes against 1.3–3.1 gigabytes) and the CRPS (0.4 against 383 megabytes). Intervals from predictive systems need about six times less. Venn–Abers and the distribution function need about what the reference needs. Memory of the other methods was not measured.

Small margins are small. Split conformal regression takes milliseconds in every package at a million test points.

Comparisons with R set compiled Python against interpreted R. The AcMCP rows of Table 4 are for 1,000 steps and 6 horizons, the largest size at which we ran R. At 3,000 steps and 12

horizons, the size used for multi-step split conformal prediction, pyconformal’s AcMCP with the scorecaster takes 127 seconds; R was not run at that size. The scorecaster is the slowest part of the package.

Warm-up and the “Same” column. Compiled kernels are called once before timing, so compilation is excluded from every figure; it takes from a fraction of a second to a few seconds per kernel on first use and is cached on disk afterwards. In Table 4, “yes” means outputs were compared and equal, “coverage” that only coverage was compared, “n/c” not compared and “n/a” not comparable.

Statistical efficiency

On a skewed outcome with 100 predicted quantile levels, 20,000 calibration and 200,000 test points and a 90% target, mean interval length was 5.59 for CQR, 5.18 for CIR, 5.02 for CIR+ and 4.95 for CTI (a set that may be a union of intervals), with coverage 0.899–0.909. Table 20 repeats the comparison with standard errors on three outcome distributions and two levels. Randomised APS in pyconformal gave sets of mean size 1.73 at 89.9% coverage where MAPIE’s default APS gave 2.05 at 97.5%.

Real series

We took three public series from the Monash archive [16]: daily births in the United States (7,305 days), the daily flow of the Saugeen River (23,741 days) and hourly electricity demand in Victoria, Australia. At each of 1,500 consecutive forecast origins statsforecast 2.1.1 was fitted to the most recent history (364 days, or 28 days of hourly data) and forecast 7 days or 24 hours ahead, with a seasonal naive model for births and electricity and a naive model for the river. We recorded its own conformal intervals at a 90% level, with the default of 2 calibration windows and with 10, and gave the same point forecasts to MultiStepSplitConformal, which for each target uses only the forecast errors already known when the forecast was made. Coverage is counted over the same targets for every method, after the first 100 origins (Table 5, Figure 1). Figure 2 and Figure 3 show a stretch of two of the series: with two calibration errors the default intervals are narrow in most places and miss often, and now and then one large error makes them very wide.

SeriesIntervalsCoverageMedian width
US birthsstatsforecast, default61.1%518
statsforecast, 10 windows80.8%890
pyconformal, multi-step split91.0%1,234
pyconformal, AcMCP, no scorecaster89.9%2,025
Saugeen Riverstatsforecast, default66.0%10.7
statsforecast, 10 windows79.2%29.0
pyconformal, multi-step split91.3%74.8
pyconformal, AcMCP, no scorecaster89.7%233
Victoria electricitystatsforecast, default64.7%1,015
statsforecast, 10 windows82.4%1,839
pyconformal, multi-step split90.8%2,393
pyconformal, AcMCP, no scorecaster89.3%5,941

Table 5. Coverage of 90% forecast intervals on three real series, all horizons pooled, about 1,390 targets per horizon. Width is the median interval length in the units of the series. Bold marks the best result for each series: the narrowest intervals among those that cover within one point of the 90% target.

Coverage of 90% forecast intervals on three real series

Figure 1. Coverage of 90% forecast intervals on three real series. The point forecasts are the same for every bar.

US daily births, forecasts 7 days ahead, 90% intervals over the last 84 days of the test period

Figure 2. US daily births, forecasts 7 days ahead, 90% intervals over the last 84 days of the test period. Top: statsforecast with its default settings. Bottom: pyconformal on the same point forecasts. Dots mark outcomes outside the interval.

Victoria electricity demand, forecasts 24 hours ahead, 90% intervals

Figure 3. Victoria electricity demand, forecasts 24 hours ahead, 90% intervals. Top: statsforecast with its default settings. Bottom: pyconformal on the same point forecasts. Dots mark outcomes outside the interval.

The default covers 61% to 66%, which matches the synthetic result in Table 2: two errors per horizon cannot give a valid finite 90% interval. With 10 windows coverage is about 80%, because the interval comes from an interpolated quantile of the errors, which lands just above the second largest of ten, where the largest is needed. Multi-step split conformal reaches the stated level with intervals that are wider, as a 90% interval must be. It is plain split conformal prediction applied per horizon and recalibrated at every origin on all errors known so far, which takes 30 to 100 milliseconds for a whole series because no model is refitted; no adaptive or weighted method was needed to reach the level. The statsforecast library uses the same idea, and the gap comes from the number of errors used and the quantile taken. AcMCP without its scorecaster also reaches the level, but its intervals are 1.6 to 3 times wider than multi-step split on these series. With statsforecast’s AutoETS in place of the naive model on the river series (1,093 targets per horizon), coverage was 63.4%, 79.5% and 90.0% for the default, 10 windows and pyconformal. Forecast errors are not exchangeable, so these are observed frequencies with no guarantee behind them; with only the last 200 errors per horizon, multi-step split covered 88.4% to 89.6%.

Limitations

  • All coverage experiments except § 8.2 and the real-data runs of the conformal-tights audit use synthetic data. Time-series methods have no finite-sample guarantee under dependence, and we observed 85% coverage for SPCI and 89% for EnbPI at a 90% target on strongly autocorrelated errors.

  • Peak memory was measured for CV+, predictive systems and Venn–Abers only (Table 13), in one run each. Elsewhere we make no claim about memory.

  • Timings come from one 2-core machine. The quantile forest alone was also measured on a 16-core server.

  • CIR differs from its authors’ code in two ways, on purpose. Their code scores calibration points with a window that grows from the mode and predicts with the shortest window of the resulting number of intervals; these are not always the same window, so the rank argument does not apply. Our code uses the growing window on both sides by default and offers the authors’ rule as window="shortest", which returned intervals identical to theirs on all 200,000 test points of our benchmark. The difference matters: on a bimodal outcome the authors’ rule covered 88.3% at a 90% target and 76.7% at an 80% target in their own code, while the default covered 90.5% and 80.4% (Table 20). For CIR+ their code scales the added length by 100 times the largest calibration outcome; ours scales by the sample’s predicted range.

  • AcMCP with the scorecaster agrees with R to a median of 10−510^{-5}, not exactly, because both packages fit the MA model with an iterative optimiser. Where we examined larger differences our fit had the higher likelihood.

  • Not yet included: conformal risk control, localised and clustered conditional methods, conformal anomaly detection, exchangeability testing.

  • The Venn–Abers tangent walk has no proved worst-case bound. On nine stress configurations, including alternating labels, blocks of equal labels, heavy ties and geometrically spaced scores, time grew by a factor of 11 to 18 for ten times the data, and the output equalled the reference implementation exactly (Table 17).

  • The real-data study in § 8.2 covers three series and simple forecasters; it is an illustration, not a benchmark. Timings were not repeated on a second machine.

  • Weighted conformal predictive systems are new in version 0.1.6; they were tested against their definition, by simulation under a known covariate shift, and against crepes-weighted 0.1.3, the code released with [21]. The distribution functions of the two agree to 10−1510^{-15}. The quantile rules differ: with equal weights ours returns the quantiles of the unweighted system, while crepes-weighted takes ranks one to two places further out (ranks 3 and 96 where the unweighted system takes 5 and 95, with 99 calibration points) and returns infinite intervals more often; both rules kept their level in simulation. Weighted ranks use floating point with a tolerance, not exact arithmetic. The exact rank routine, conformal_quantile, is a public function, so other code can reuse it without the rest of the package.

Availability

The package pyconformal is released under the MIT licence at https://github.com/valeman/pyconformal and on PyPI as pyconformal; pip install "pyconformal[fast]" adds Numba. It requires Python 3.10 or later and NumPy 1.22 or later. The repository contains the test suite, continuous integration, and the benchmark scripts behind the timings in this paper, including short self-contained scripts that reproduce the faults in Table 2 and Table 3 using only the package concerned.

Full result tables

All runs used the releases current on 20 November 2026. Each table names its script in the repository’s benchmarks folder.

Calibration errorsPlain quantileExact rule
20.6481.000 (infinite interval)
50.7871.000 (infinite interval)
90.8300.900
100.8330.910
200.8620.903
500.8850.902

Table 21.

Experimental details

Environment. Table 15 lists the machine and the controls. Thread counts were left at their defaults for every package, which on this machine means two threads for BLAS and for Numba; nothing was pinned to one thread. All arrays are 64-bit floats. Where a competing package offers a vectorised call for many test rows, that call was used; the one-row-at-a-time measurements are labelled as such.

Machine2 virtual cores (Intel Xeon, 2.1 GHz), 7 GB memory, Linux
Python3.13; Numba 0.68.1, scikit-learn 1.9.1, SciPy 1.17.1; NumPy 2.5.5 (OpenBLAS 0.3.34), or NumPy 1.26.4 with PyTorch 2.15 in the environment used for MAPIE, TorchCP and PUNCC
PackagesMAPIE 1.6.0, crepes 0.9.1, TorchCP 1.2.1, PUNCC 0.9.3, venn-abers 1.5.4, statsforecast 2.1.1, mlforecast 1.1.0, Darts 0.48.1, conformalforecast 0.1.0 (Nixtla), conformal-tights 0.5.0, online-cp 0.4.0, quantile-forest 1.5.0, R forecast 9.0.2, R conformalForecast 0.2.1.9000 (development version)
Threadsdefaults (2 for BLAS and Numba); not pinned
Precision64-bit floats throughout
Timingbest of 3 runs (single run where one run exceeds a minute); compiled kernels warmed up first
Seedsfixed in every script (NumPy default_rng with the seed given in the script)
Quantile forestmeasured separately on a 16-core server under load from another job

Table 15. Environment and controls.

Data. All data are synthetic, except the three Monash series of § 8.2 and the eight public regression datasets used in the audit of conformal-tights.

  • Threshold exactness (Table 6). Calibration scores drawn from an exponential distribution; n=1,…,120,199,200,999,1000n = 1, \ldots, 120, 199, 200, 999, 1000 and α∈{0.01,0.02,0.05,0.1,0.15,0.2,0.25,0.3,0.5,0.9}\alpha\in\{0.01, 0.02, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.5, 0.9\}, 1,240 cases. Each package’s half-width is compared with the exact order statistic.

  • statsforecast and mlforecast (Table 7). 4,000 series of 120 independent standard normal values; a historic-average forecaster and a linear regression; nominal 90%.

  • Darts. 1,000 series of 40 independent standard normal values; linear regression on one lag; calibration lengths 3 to 20.

  • TorchCP SAPS (Table 2). 10 classes; SAPS weight 0.2; logits cN(0,1)c\mathcal{N}(0,1) with c∈{3,6,10}c \in\{3, 6, 10\}; labels drawn from the softmax probabilities; 5,000 calibration and 50,000 test points.

  • Prediction sets (Table 10). Logits 1.5N(0,1)1.5\mathcal{N}(0,1) plus 4 on the true class; 5,000 calibration points; 50,000 test points (20,000 for 1,000 classes).

  • Venn–Abers (Table 8). Scores uniform on [0,1][0,1]; labels Bernoulli with probability s1.5s^{1.5} (realistic), 1−s1-s (anti-correlated) or 0.5 (noise); or scores rounded to two decimals.

  • Predictive systems (Table 9). Standard normal outcomes and predictions; difficulty estimates uniform on [0.5,3][0.5,3].

  • Quantile methods. y=xey = xe with xx uniform on [0.5,2][0.5,2] and ee gamma with shape 2; 101 predicted quantiles equal to the true ones times a log-normal model error of scale 0.15, plus noise of scale 0.05. Table 20 also uses a normal and a two-component normal mixture for ee.

  • ACI. A random walk of scale 0.1 plus Student-t3t_3 noise whose scale triples half-way; a

Table 9: Conformal predictive systems against crepes 0.9.1, in seconds (speed_predictive.py).

TaskCalibrationTestcrepesOursFactor
90% intervals10310^310410^40.03580.00015241
90% intervals10410^410510^50.6200.0010602
90% intervals10510^510610^679.20.00988,126
Distribution function10310^310410^40.0810.001942
Distribution function10410^410510^51.270.02064
Distribution function10510^510610^61450.261556
CRPS1,0002,0000.0370.00016225
CRPS5,0005,0000.3090.00047656

Table 9.

linear model on five lags trained once on 250 points; 250 calibration points.

  • EnbPI. 1,000 training rows, five standard normal features, linear outcome with unit noise, 30 bootstrap models.

  • Multi-step methods. An AR(1) series with coefficient 0.8 and its optimal forecasts (multi-step split); an ARMA(1,1) series with Student-t5t_5 innovations and a deliberately misspecified forecaster (AcMCP).

Additional experiments

The approximation halves prediction time and costs 2.6% in interval length; coverage after conformal calibration is unchanged, as it must be. It is worth using when prediction time matters more than a few per cent of width.

Table 20 also shows where each method pays off. On the skewed outcome CIR, CIR+ and CTI are 8–12% shorter than CQR. On the symmetric outcome CQR is as short as any, and CIR is 2–3% longer. On the bimodal outcome any single interval must span the gap between the modes, and CTI, which may return a union of intervals, is 30–40% shorter than the rest.

Table 11: Time-series methods per step when replaying a stream, in microseconds (speed_timeseries.py). References were run on shorter streams than pyconformal (10610^{6} steps; 2,000 for EnbPI and SPCI), given in the third column, because several slow down per step as the stream grows; the factors would be larger at equal length. DtACI and AgACI are not output-comparable (random expert choice; different aggregation).

MethodReferenceStepsReferenceOursFactor
Conformal PID (P)authors’ code20,00010.20.09112
Conformal PID (P+I)authors’ code20,00014.00.13106
ACIauthors’ code20,0001140.40286
DtACI, update step onlyauthors’ R code50,000410.6266
AgACI, update step onlyR code, 30 experts50,000204.44.5
Non-exchangeable CPdefinition recomputed each step4,000710.30236
EnbPIMAPIE 1.6.03005,45411.6400–470
EnbPI, batches of 10PUNCC 0.9.32,0002811223
SPCI, refit every stepthe paper’s loop, another forest10029,1003,3009

Table 11.

ClassesSecondsns per row and classCoverageMean set sizeInput / peak memory (MB)
1000.005260.8988.53 / 427
1,0000.053270.9058232 / 434
10,0000.669340.903839320 / 1,371
30,0002.018340.9042,257960 / 3,247

Table 19. Randomised APS with many classes: 2,000 calibration and 2,000 test rows, calibrate plus predict. Time grows in proportion to the size of the probability matrix. Peak memory is for the whole process, including generating the data.

References

  1. [1]Anastasios N. Angelopoulos, Stephen Bates, Michael I. Jordan, and Jitendra Malik. Uncertainty sets for image classifiers using conformal prediction. In International Conference on Learning Representations, 2021.arxiv.org/abs/2009.14193
  2. [2]Anastasios N. Angelopoulos, Emmanuel J. Candès, and Ryan J. Tibshirani. Conformal PID control for time series prediction. In Advances in Neural Information Processing Systems, volume 36, 2023.arxiv.org/abs/2307.16895
  3. [3]Kasun Bandara, Rob J. Hyndman, and Christoph Bergmeir. MSTL: A seasonal-trend decomposition algorithm for time series with multiple seasonal patterns. International Journal of Operational Research, 52(1):79–98, 2025.arxiv.org/abs/2107.13462
  4. [4]Rina Foygel Barber, Emmanuel J. Candès, Aaditya Ramdas, and Ryan J. Tibshirani. Predictive inference with the jackknife+. The Annals of Statistics, 49(1):486–507, 2021.arxiv.org/abs/1905.02928
  5. [5]Rina Foygel Barber, Emmanuel J. Candès, Aaditya Ramdas, and Ryan J. Tibshirani. Conformal prediction beyond exchangeability. The Annals of Statistics, 51(2):816–845, 2023.arxiv.org/abs/2202.13415
  6. [6]Henrik Boström. crepes: A Python package for generating conformal regressors and predictive systems. In Conformal and Probabilistic Prediction with Applications, volume 179 of PMLR, pages 24–41, 2022.
  7. [7]Peter J. Brockwell and Richard A. Davis. Time Series: Theory and Methods. Springer, 2nd edition, 1991.
  8. [8]Robert B. Cleveland, William S. Cleveland, Jean E. McRae, and Irma Terpenning. STL: A seasonal-trend decomposition procedure based on loess. Journal of Official Statistics, 6(1):3–73, 1990.
  9. [9]Thibault Cordier, Vincent Blot, Louis Lacombe, Thomas Morzadec, Arnaud Capitaine, and Nicolas Brunel. Flexible and systematic uncertainty estimation with conformal prediction via the MAPIE library. In Conformal and Probabilistic Prediction with Applications, volume 204 of PMLR, pages 549–581, 2023.
  10. [10]Gianluca Detommaso, Alberto Gasparin, Michele Donini, Matthias Seeger, Andrew Gordon Wilson, and Cedric Archambeau. Fortuna: A library for uncertainty quantification in deep learning. Journal of Machine Learning Research, 25(238):1–7, 2024.arxiv.org/abs/2302.04019
  11. [11]T. Ding, I. Gibbs, and R. J. Tibshirani. Calibrated multi-level quantile forecasting. arXiv preprint arXiv:2512.23671, 2025.arxiv.org/abs/2512.23671
  12. [12]Peter M. Fenwick. A new data structure for cumulative frequency tables. Software: Practice and Experience, 24(3):327–336, 1994.DOI
  13. [13]Azul Garza, Max Mergenthaler Canseco, Cristian Challu, and Kin G. Olivares. Stats-Forecast: Lightning fast forecasting with statistical and econometric models. PyCon, Salt Lake City. https://github.com/Nixtla/statsforecast, 2022.
  14. [14]Isaac Gibbs and Emmanuel J. Candès. Adaptive conformal inference under distribution shift. In Advances in Neural Information Processing Systems, volume 34, 2021.arxiv.org/abs/2106.00170
  15. [15]Isaac Gibbs and Emmanuel J. Candès. Conformal inference for online prediction with arbitrary distribution shifts. Journal of Machine Learning Research, 25(162):1–36, 2024.
  16. [16]Rakshitha Godahewa, Christoph Bergmeir, Geoffrey I. Webb, Rob J. Hyndman, and Pablo Montero-Manso. Monash time series forecasting archive. In Neural Information Processing Systems Track on Datasets and Benchmarks, 2021.arxiv.org/abs/2105.06643
  17. [17]Naixin Guo, Rui Luo, and Zhixin Zhou. Fast conformal prediction using conditional interquantile intervals. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, 2026. arXiv:2601.02769.arxiv.org/abs/2601.02769
  18. [18]Julien Herzen et al. Darts: User-friendly modern machine learning for time series. Journal of Machine Learning Research, 23(124):1–6, 2022.arxiv.org/abs/2110.03224
  19. [19]Jianguo Huang, Huajun Xi, Lijun Zhang, Huaxiu Yao, Yue Qiu, and Hongxin Wei. Conformal prediction for deep classifier via label ranking. In International Conference on Machine Learning, 2024.arxiv.org/abs/2310.06430
  20. [20]Jianguo Huang, Jianqing Song, Xuanning Zhou, Bingyi Jing, and Hongxin Wei. TorchCP: A Python library for conformal prediction. Journal of Machine Learning Research, 26(266):1–25, 2025.arxiv.org/abs/2402.12683
  21. [21]Jef Jonkers, Glenn Van Wallendael, Luc Duchateau, and Sofie Van Hoecke. Conformal predictive systems under covariate shift. In Conformal and Probabilistic Prediction with Applications, volume 230 of PMLR, pages 406–423, 2024.arxiv.org/abs/2404.15018
  22. [22]Siu Kwan Lam, Antoine Pitrou, and Stanley Seibert. Numba: A LLVM-based Python JIT compiler. In Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC, 2015.DOI
  23. [23]Jing Lei, Max G'Sell, Alessandro Rinaldo, Ryan J. Tibshirani, and Larry Wasserman. Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523):1094–1111, 2018.arxiv.org/abs/1604.04173
  24. [24]Z. Lin, S. Trivedi, and J. Sun. Conformal prediction intervals with temporal dependence. Transactions on Machine Learning Research, 2022.arxiv.org/abs/2205.12940
  25. [25]Markus Löning, Anthony Bagnall, Sajaysurya Ganesh, Viktor Kazakov, Jason Lines, and Franz J. Király. sktime: A unified interface for machine learning with time series. arXiv:1909.07872, 2019.arxiv.org/abs/1909.07872
  26. [26]Rui Luo and Zhixin Zhou. Conformal thresholded intervals for efficient regression. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 19216–19223, 2025.
  27. [27]Valery Manokhin. Multi-class probabilistic classification using inductive and cross Venn–Abers predictors. In Conformal and Probabilistic Prediction and Applications, volume 60 of PMLR, pages 228–240, 2017.
  28. [28]Valery Manokhin. Training-free probabilistic time-series forecasting with conformal seasonal pools. arXiv:2605.03789, 2026.DOI
  29. [29]Valery Manokhin and Daniel Grønhaug. Classifier calibration at scale: An empirical study of model-agnostic post-hoc methods. arXiv:2601.19944, 2026.arxiv.org/abs/2601.19944
  30. [30]Nicolai Meinshausen. Quantile regression forests. Journal of Machine Learning Research, 7: 983–999, 2006.
  31. [31]Mouhcine Mendil, Luca Mossina, and David Vigouroux. PUNCC: A Python library for predictive uncertainty calibration and conformalization. In Conformal and Probabilistic Prediction with Applications, volume 204 of PMLR, pages 582–601, 2023.
  32. [32]Harris Papadopoulos, Kostas Proedrou, Vladimir Vovk, and Alexander Gammerman. Inductive confidence machines for regression. In European Conference on Machine Learning, pages 345–356, 2002.
  33. [33]Yaniv Romano, Evan Patterson, and Emmanuel J. Candès. Conformalized quantile regression. In Advances in Neural Information Processing Systems, volume 32, 2019.arxiv.org/abs/1905.03222
  34. [34]Yaniv Romano, Matteo Sesia, and Emmanuel J. Candès. Classification with valid and adaptive coverage. In Advances in Neural Information Processing Systems, volume 33, 2020.arxiv.org/abs/2006.02544
  35. [35]Andro Sabashvili. Conformal prediction algorithms for time series forecasting: Methods and benchmarking. arXiv:2601.18509, 2026.arxiv.org/abs/2601.18509
  36. [36]Mauricio Sadınle, Jing Lei, and Larry Wasserman. Least ambiguous set-valued classifiers with bounded error levels. Journal of the American Statistical Association, 114(525):223–234, 2019.
  37. [37]M. Stocker, W. Maigorzevicz, M. Fontana, and S. Ben Taieb. A gentle introduction to conformal time series forecasting. arXiv:2511.13608, 2025.arxiv.org/abs/2511.13608
  38. [38]Sophia Sun and Rose Yu. Copula conformal prediction for multi-step time series forecasting. In International Conference on Learning Representations, 2024.arxiv.org/abs/2212.03281
  39. [39]Vianney Taquet, Vincent Blot, Thomas Morzadec, Louis Lacombe, and Nicolas Brunel. MAPIE: An open-source library for distribution-free uncertainty quantification. arXiv:2207.12274, 2022.arxiv.org/abs/2207.12274
  40. [40]Ryan J. Tibshirani, Rina Foygel Barber, Emmanuel J. Candès, and Aaditya Ramdas. Conformal prediction under covariate shift. In Advances in Neural Information Processing Systems, volume 32, 2019.arxiv.org/abs/1904.06019
  41. [41]D. Tu and K. Giesecke. Online conformal prediction for non-exchangeable panel data. arXiv preprint arXiv:2605.17705, 2026.arxiv.org/abs/2605.17705
  42. [42]Lars van der Laan and Ahmed Alaa. Generalized Venn and Venn–Abers calibration with applications in conformal prediction. In International Conference on Machine Learning, volume 267 of PMLR, pages 60748–60763, 2025.arxiv.org/abs/2502.05676
  43. [43]Vladimir Vovk. Conditional validity of inductive conformal predictors. In Asian Conference on Machine Learning, volume 25 of PMLR, pages 475–490, 2012.arxiv.org/abs/1209.2673
  44. [44]Vladimir Vovk and Ivan Petej. Venn–Abers predictors. In Uncertainty in Artificial Intelligence, pages 829–838, 2014.
  45. [45]Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
  46. [46]Vladimir Vovk, Ivan Petej, and Valentina Fedorova. Large-scale probabilistic predictors with and without guarantees of validity. In Advances in Neural Information Processing Systems, volume 28, 2015.arxiv.org/abs/1511.00213
  47. [47]Vladimir Vovk, Jieli Shen, Valery Manokhin, and Min-ge Xie. Nonparametric predictive distributions based on conformal prediction. Machine Learning, 108:445–474, 2019.
  48. [48]Vladimir Vovk, Ivan Petej, Ilia Nouretdinov, Valery Manokhin, and Alexander Gammerman. Computationally efficient versions of conformal predictive distributions. Neurocomputing, 397:292–308, 2020.arxiv.org/abs/1911.00941
  49. [49]Xiaoqian Wang and Rob J. Hyndman. Online conformal inference for multi-step time series forecasting. arXiv:2410.13115, 2024.arxiv.org/abs/2410.13115
  50. [50]Chen Xu and Yao Xie. Conformal prediction interval for dynamic time-series. In International Conference on Machine Learning, 2021.
  51. [51]Chen Xu and Yao Xie. Sequential predictive conformal inference for time series. In International Conference on Machine Learning, 2023.arxiv.org/abs/2212.03463
  52. [52]Qingdi Yu, Zhiwei Cao, Ruihang Wang, Zhen Yang, Lijun Deng, Min Hu, Yong Luo, and Xin Zhou. Dual-splitting conformal prediction for multi-step time series forecasting. Applied Soft Computing, 184:113825, 2025.DOI
  53. [53]Margaux Zaffran, Olivier Féron, Yannig Goude, Julie Josse, and Aymeric Dieuleveut. Adaptive conformal predictions for time series. In International Conference on Machine Learning, 2022.arxiv.org/abs/2202.07282

Paper details

vlnc:W_c2zw3aby
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 5

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents