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

Conformal Predictions #1704

Open
dennisbader opened this issue Apr 12, 2023 · 6 comments · May be fixed by #2552
Open

Conformal Predictions #1704

dennisbader opened this issue Apr 12, 2023 · 6 comments · May be fixed by #2552
Labels
feature request Use this label to request a new feature

Comments

@dennisbader
Copy link
Collaborator

Conformal predictions could be a valuable addition to darts.
It would require some brain storming/planning of how (or if) we can integrate this into our API / extend the API.

Some links:

@dennisbader dennisbader added the feature request Use this label to request a new feature label Apr 12, 2023
@jlopezpena
Copy link

Perhaps Darts could leverage MAPIE for implementing conformal inference?

@lsorber
Copy link

lsorber commented Apr 15, 2024

For those interested, Conformal Tights is a Python package that adds conformal prediction to Darts: https://github.com/radix-ai/conformal-tights

@dennisbader
Copy link
Collaborator Author

dennisbader commented Aug 27, 2024

Working on it. For the beginning we were thinking about the Naive Conformal Model and Conformalized Quantile Regression.

@AugustComte
Copy link

AugustComte commented Aug 28, 2024

Could you add a facility for weighting seasonality i.e. yearly, and decay weighting for recency, within the Naive approach? I find these to be useful.

@github-project-automation github-project-automation bot moved this to In progress in darts Aug 29, 2024
@dennisbader
Copy link
Collaborator Author

dennisbader commented Aug 30, 2024

Hmm.. For the first version probably not (to keep things simple for a start, it's already getting quite big ;) ). But the goal is to make it easy to define a custom CP model/class with the ability to customize how to calibrate the intervals based on the residuals.

After the first version, we're more than happy to further improve / expand on it.

@AugustComte
Copy link

That makes sense; I also found it was a large amount of work, especially with PyTorch models. But then I was trying to hack PUNCC and MAPIE...

I'm unsure if this is useful, but I have found this YouTube channel a useful reference: https://github.com/mtorabirad/MLBoost

Anyhow, thank you for the update, Dennis. I'm excited about this. We use darts in production, and your work is greatly appreciated!

@dennisbader dennisbader linked a pull request Oct 3, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Use this label to request a new feature
Projects
Status: In review
Development

Successfully merging a pull request may close this issue.

4 participants