Does Neural Prophet takes only known future features? #765
-
I have a training data set of 15 months. I have trained the model for 12 months. Now I want to include the temperature and other features in the model training. Do I need these features to have known values in the testing dataset? Or only up to the training data set (the 12 months). Also, this might seem trivial, but how to add the feature? I remember reading through the documentation regarding aggressors. Another question, I added the holidays in my model using this |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It takes both future known features and past ones as well. Here are the links in the documentation: Modeling Lagged Regressors: https://neuralprophet.com/html/lagged-regressors.html Modeling Future Regressors: https://neuralprophet.com/html/future-regressors.html?highlight=future%20regressor @ourownstory Thanks for sharing these links, a couple of questions:
|
Beta Was this translation helpful? Give feedback.
It takes both future known features and past ones as well. Here are the links in the documentation:
Modeling Lagged Regressors: https://neuralprophet.com/html/lagged-regressors.html
Modeling Future Regressors: https://neuralprophet.com/html/future-regressors.html?highlight=future%20regressor
@ourownstory Thanks for sharing these links, a couple of questions:
In the documentation, it is mentioned the following: This is the command to add the reggresor:
m = m.add_lagged_regressor(names='A')
By setting the
only_last_value
argument of the add_lagged_regressor function
, the user can specify either to use only the last known value of the regressor within the input window or else use the same …