Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequential Predictive Conformal Inference (SCPI) for Time Series #370

Open
Kevin-Chen0 opened this issue Nov 8, 2023 · 4 comments
Open
Labels
Enhancement Type: enhancement (new feature or request) Source: contributors Proposed by contributors.

Comments

@Kevin-Chen0
Copy link

Kevin-Chen0 commented Nov 8, 2023

Describe the feature request you'd like
Include SCPI as a second, alternative method within the MapieTimeSeriesRegressor class alongside the existing EnbPI method.

Why is this beneficial?
SCPI improves upon EnbPI by including serial dependence across prediction residuals (or conformity score), aka sequential conformal prediction. This can further reduce the prediction interval width for the same data and empirical coverage compared to EnbPI.

Additional context
Xu, C. and Xie, Y. Sequential predictive conformal inference for time series. arXiv preprint
arXiv:2212.03463, 2022b. [link]

@Kevin-Chen0 Kevin-Chen0 added the Enhancement Type: enhancement (new feature or request) label Nov 8, 2023
@LacombeLouis
Copy link
Collaborator

Hi @Kevin-Chen0,
Thank you for your comment. Indeed, I think this could be a valuable addition to MAPIE. For the moment, we have focused our efforts in Time Series on the following papers (#334):

  • Gibbs, I., & Candes, E. (2021). Adaptive conformal inference under distribution shift. Advances in Neural Information Processing Systems, 34, 1660-1672.
  • Zaffran, M., Féron, O., Goude, Y., Josse, J., & Dieuleveut, A. (2022, June). Adaptive conformal predictions for time series. In International Conference on Machine Learning (pp. 25834-25866). PMLR.

If you want to contribute to the library, I think this could be a very interesting new addition!
Don't hesitate to contact us if you have any questions regarding the how and where to implement this method.

@Kevin-Chen0
Copy link
Author

Hi @LacombeLouis,

Yes, I can contribute to MAPIE by adding SCPI there. Will you also be including ACI in MapieTimeSeriesRegressor? That way, we can ensure I follow the same structure when incorporating SCPI.

Thanks!
~Kevin

@LacombeLouis
Copy link
Collaborator

Hi @Kevin-Chen0,

Indeed, we are including it at this very moment, it's in the final stages of development... 🔜 #341.

I think that as soon as it's released, we will make sure to keep you posted!
Thank you!
Louis

@valeman
Copy link

valeman commented Jan 26, 2024

Hi @Kevin-Chen0, Thank you for your comment. Indeed, I think this could be a valuable addition to MAPIE. For the moment, we have focused our efforts in Time Series on the following papers (#334):

  • Gibbs, I., & Candes, E. (2021). Adaptive conformal inference under distribution shift. Advances in Neural Information Processing Systems, 34, 1660-1672.
  • Zaffran, M., Féron, O., Goude, Y., Josse, J., & Dieuleveut, A. (2022, June). Adaptive conformal predictions for time series. In International Conference on Machine Learning (pp. 25834-25866). PMLR.

If you want to contribute to the library, I think this could be a very interesting new addition! Don't hesitate to contact us if you have any questions regarding the how and where to implement this method.

I think SPCI outperforms these methods as who's in SPCI paper?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Type: enhancement (new feature or request) Source: contributors Proposed by contributors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants