Multi-variate multi-step forecasting #592
-
Hi. I am having trouble training a multi-variate model and predicting in to the future up to t+7 days, using the forecasted weather values. I can predict the historic data fine (using this notebook as reference: Do you have any advice how we can do this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Self-solved... This notebook is helpful: However the crucial element missing is that in the In addition, I would advise setting Great library - loving it so far. |
Beta Was this translation helpful? Give feedback.
-
The above url does not work when we click on it, the URL to click on is https://github.com/ourownstory/neural_prophet/blob/main/docs/source/future-regressors.md |
Beta Was this translation helpful? Give feedback.
Self-solved...
This notebook is helpful:
https://github.com/ourownstory/neural_prophet/blob/main/docs/source/future-regressors.md
However the crucial element missing is that in the
make_future_dataframe
call there is aregressors_df
option which is by defaultNone
. If you change this to be your dataframe of future regressors (ie.regressors_df=future_regressors_df
), it will work.In addition, I would advise setting
periods=len(future_regressors_df)
that way you'll be predicting only as far as your future regressors allow.Great library - loving it so far.