Skip to content
Discussion options

You must be logged in to vote

The fourier transformations happen based on the day of the year derived from the dates so the frequency of the input data will not have an impact.

With yearly_seasonality=3, all the sin and cos shown below will be part of the regression model. Here they are unscaled but the regression scales each by a parameter (highly regularized). The scaled curves will be summed together which provide the seasonality that can be rather flexible but also repeats yearly.

It's not guaranteed that n_order = n will have n peaks when multiplied with the coefficients and summed. That would depend on the coefficients. For a counter example, we can see only 3 local maximums with order = 4 below.
However, the o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by williambdean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants