neuralforecast icon indicating copy to clipboard operation
neuralforecast copied to clipboard

[FEAT] Sliding predictions for an arbitrary DF

Open howarth opened this issue 10 months ago • 4 comments

I want to be able to run something similar to predict_insample but with an arbitrary df instead of the training data. I didn't see anywhere else where I could run sliding window predictions. I moved the bulk of predict_insample to _predict_sliding and then I have predict_insample call _predict_sliding. Similarly, predict_sliding(df, ..) calls _predict_sliding

This is not complete, I don't think it will work with exogenous variables, and it definitely will not work with static variables. I will figure that out. I wanted to first get feedback on if anything I'm doing here is incorrect.

I think this is the type of predictions we will want to do for many of the medical projects at Auton

howarth avatar Mar 26 '24 20:03 howarth

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Dan Howarth seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Mar 26 '24 20:03 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Dan Howarth seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Mar 26 '24 20:03 CLAassistant

Thanks for submitting a PR!

What is the use case for this?

elephaint avatar Apr 22 '24 13:04 elephaint