-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fourier seasonality transformations #1442
Comments
Hearing few things here
2 is easier than 1 and probs should come first. I am all for. That why they are easy to subclass |
On We are currently passing We have 2 alternatives:
Although 1 would add boilerplate code, I feel it might be easier for an end-user to understand how to use it. What's your take? |
Good question. I think the easiest would be allow for a new parameter I like the idea of taking a list, but what is the behavior when I pass more than one, say, At the moment, we don't even have the ability to pass a custom Fourier class as the prior is defined in the Think either can come first but mirroring the yearly_seasonality with monthly_seasonality parameter might be the easiest. We will have to be careful that the previous models are backward compat as the pymc-marketing/pymc_marketing/model_builder.py Line 1008 in d3c7eda
|
Currently we have
YearlyFourier
andMonthlyFourier
as subclasses ofFourierBase
.It would be nice to include
WeeklyFourier
(and perhapsDailyFourier
) for datasets with finer time granularity.Additionally, BaseMMM only makes use of
yearly_seasonality
. Maybe we could replace in favor of aseasonalities: List[FourierBase]
Also
FourierBase.apply
contains:periods = dayofyear / self.days_in_period
. Perhaps we should makedayofyear
a more general paramThe text was updated successfully, but these errors were encountered: