The AdaptiveConformal
package implements several Adaptive Conformal
Inference (ACI) algorithms in R.
Conformal Inference is a methodology for constructing prediction intervals from black-box prediction methods. Classical conformal inference methods, such as Split Conformal Inference, crucially depend on the exchangeability of the observed data (see Angelopoulos and Bates 2021 for an introduction to conformal inference). Time series data are typically not exchangeable, so many conformal inference methods cannot be applied directly.
Adaptive Conformal Inference (ACI) is a family of algorithms for constructing prediction intervals in an online setting, and are therefore particularly useful for time series data.
The basic idea behind ACI is to adaptively generate prediction intervals that grow or shrink in response to the stream of incoming data.
The following algorithms are included:
SCP
: Split Conformal PredictionACI
: Adaptive Conformal Inference (Gibbs and Candès 2021).AgACI
: Aggregated Adaptive Conformal Inference (Zaffran et al. 2022).DtACI
: Dynamically-tuned Adaptive Conformal Inference (Gibbs and Candès 2022).SF-OGD
: Scale-Free Online Gradient Descent (Orabona and Pál 2018, Bhatnagar et al. 2023).SAOCP
: Strongly Adaptive Online Conformal Prediction (Bhatnagar et al. 2023).