Monthly Future Regressors #607
-
In the original Prophet documentation, when modeling monthly data forecasts, according to link here, I need to add 12 binary variables to the model and not use yearly seasonality to avoid overfitting. Is neuralprophet recommending the same approach to model monthly data? However as I add the 12 binary variables as future regressors, I encounter this bug Describe the solution you'd like A documentation of tutorial in dealing with sub-daily data Describe alternatives you've considered Use yearly seasonality Additional context No |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @winnieshen96 The simplest approach would be to set The second approach of creating a regressor per month is potentially even better, but requires some extra work. |
Beta Was this translation helpful? Give feedback.
Hi @winnieshen96
Thank you for raising this Question.
The simplest approach would be to set
yearly_seasonality
to a lower value.The model will have
2*yearly_seasonality
additional parameters (compared to no seasonality).Thus, setting it to a low value such as 2-6 should not lead to overfitting, even if you only have a few years of data.
The second approach of creating a regressor per month is potentially even better, but requires some extra work.
The Error message you see is expected in certain cases, but should not appear here.
Do you mind sharing a minimal code example to help us reproduce and address the bug?
Thank you!