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 |
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. |
Hi @winnieshen96
Thank you for raising this Question.
The simplest approach would be to set
yearly_seasonalityto a lower value.The model will have
2*yearly_seasonalityadditional 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!