-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Add Regressor Weather Forecast Data #1410
Comments
This came up in a discussion a couple years ago. I made an issue for it in #442, but it isn't something that there's any real interface for. I think the best thing to do will be to write out the CV loop yourself. Which fortunately I do not think is too difficult. This is all of the code for doing cross validation for a single cutoff: prophet/python/fbprophet/diagnostics.py Lines 167 to 197 in 3c69ce3
Right now it is calling predict on That does CV for a single cutoff, and then you would just loop over cutoffs and concatenate all of the results. |
Thank you that answers my question ! |
To help with forecasting water consumption, I would like to add a regressor with weather data. I have three years of data.
During cross validation, I first train on the first two years, then predict on the next two weeks, then train on the first two years plus one week, then predict on the next two weeks etc...
To avoid data leakage in validation, I should only use weather forecast data, while to have a better training I should obviously use actual weather data. Is there a way to implement this with prophet ?
The text was updated successfully, but these errors were encountered: