What happens when n_lags = 0? #243
-
Hello! So I am trying to wrap my head around that. You mention that if n_lags = 0, then auto-regression is not used. In that case, how exactly is the time-series forecasting done? Also, how was the forecasting done in the original Prophet, where n_lags was not an option? Did it not use auto-regression at all? I'm a bit confused! Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
If n_lags=0, then the AR-Net is not included in the model (auto-regression not included). This means that the model functionality is similar to that in the original Prophet where the basic model is a regression model that incorporates additive components, such as trend, seasonality, events. In that mode, the autocorrelation of the time series is not captured and the regressors all have one-to-one mapping at every time step considered. |
Beta Was this translation helpful? Give feedback.
-
I have encounter the same problems, when using any n_lag>0 why it the forecast (yhat) not showing anymore? |
Beta Was this translation helpful? Give feedback.
-
but we need forecast the future datas not the original datas |
Beta Was this translation helpful? Give feedback.
If n_lags=0, then the AR-Net is not included in the model (auto-regression not included). This means that the model functionality is similar to that in the original Prophet where the basic model is a regression model that incorporates additive components, such as trend, seasonality, events. In that mode, the autocorrelation of the time series is not captured and the regressors all have one-to-one mapping at every time step considered.