make future dataframe ignores periods keyword #1157
|
Hi just a quick question on what is the reasoning behind this line : neural_prophet/neuralprophet/forecaster.py Line 2808 in 1b44634 Id assume - based on the documentation- that periods control the number of n_forecasts we want to predict into the future. are there any plans to amend the function to be in line with the documentation and offer the described functionality ? Thank you for maintaining this repo, much appreciated. |
Replies: 1 comment
|
Hi @thanosvlo |
Hi @thanosvlo
When we use autoregression (i.e.
self.max_lags > 0) and callm.make_future_dataframe()to predict into the unknown future, then we want to predict a defined number of steps. The number, in that case, is determined byn_forecasts.We add the parameter
periodfor the case of not using autoregressionself.max_lags = 0. In this case, we allow the user to forecastperiodssteps into the unknown future.periodsandn_forecastsare not multiplied. Hope this helps!