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? |
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. |
|
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 |
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_dataframecall there is aregressors_dfoption 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.