https://github.com/FilippoMB/Ensemble-Conformalized-Quantile-Regression
Valid and adaptive prediction intervals for probabilistic time series forecasting
https://github.com/FilippoMB/Ensemble-Conformalized-Quantile-Regression
conformal-prediction ensemble-machine-learning frequentist-statistics frequentistic-confidence-intervals prediction-intervals probabilistic-forecasting quantile-regression random-forest recurrent-neural-networks time-series-forecasting time-series-prediction uncertainty-quantification
Last synced: about 2 months ago
JSON representation
Valid and adaptive prediction intervals for probabilistic time series forecasting
- Host: GitHub
- URL: https://github.com/FilippoMB/Ensemble-Conformalized-Quantile-Regression
- Owner: FilippoMB
- License: mit
- Created: 2022-02-11T00:19:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-28T11:22:36.000Z (almost 3 years ago)
- Last Synced: 2024-02-13T08:03:00.593Z (over 1 year ago)
- Topics: conformal-prediction, ensemble-machine-learning, frequentist-statistics, frequentistic-confidence-intervals, prediction-intervals, probabilistic-forecasting, quantile-regression, random-forest, recurrent-neural-networks, time-series-forecasting, time-series-prediction, uncertainty-quantification
- Language: Jupyter Notebook
- Homepage: https://arxiv.org/abs/2202.08756
- Size: 1.96 MB
- Stars: 66
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-conformal-prediction - Ensemble Conformalized Quantile Regression for Probabilistic Time Series Forecasting
README
[](https://arxiv.org/abs/2202.08756)
Python implementation of the ensemble conformalized quantile regression (EnCQR) algorithm, as presented in the paper [Ensemble Conformalized Quantile Regression for Probabilistic Time Series Forecasting](https://arxiv.org/abs/2202.08756) by V. Jensen, [F. M. Bianchi](https://sites.google.com/view/filippombianchi/home) and S. N. Anfinsen.
## TL;DR
EnCQR is a post-hoc method for uncertainty quantification. It creates valid prediction intervals on top of a generic regression algorithm for time series forecastings, such as a Recurrent Neural Network, ARIMA, Random Forest, and so on.
## Example of usage
The code in [main_EnCQR.py](https://github.com/FilippoMB/Ensemble-Conformalized-Quantile-Regression/blob/main/main_EnCQR.py) shows a quick example of how to perform probabilistic forecasting with EnCQR.A detailed tutorial can be found in this [](https://nbviewer.org/github/FilippoMB/Ensemble-Conformalized-Quantile-Regression/blob/main/example.ipynb), which explaines how the datasets are preprocessed and it shows the differences when using different regression models (LSTM, Temporal Convolutional Network, and Random Forest) as base models in the EnCQR ensemble.
## Citation
Please, consider citing the original paper if you use EnCQR in your research.```bibtex
@article{jensen2022ensemble,
title={Ensemble conformalized quantile regression for probabilistic time series forecasting},
author={Jensen, Vilde and Bianchi, Filippo Maria and Anfinsen, Stian Normann},
journal={IEEE Transactions on Neural Networks and Learning Systems},
year={2022},
publisher={IEEE}
}
```