Skip to content

feat(prophet): pass holidays and extra seasonalities to the model as known-future exog #91

Open

Description

@AzulGarza

FoundationProphet (#87) ignores holidays, add_seasonality, add_country_holidays and the other Prophet model arguments. it now warns, but the information is lost: a foundation model that supports known-future exog could use it.

ask: build the Prophet design matrix and feed the non-trend columns to the model as futr_exog_list, as AutoARIMAProphet does in statsforecast (make_all_seasonality_features):

  1. holidays (incl. add_country_holidays) as 0/1 columns, with lower_window/upper_window.
  2. custom seasonalities from add_seasonality (fourier terms, condition_name).
  3. skip the default yearly/weekly/daily fourier terms, the model learns those from the history.

open: models without native futr exog (the warning stays, or fall back to the existing exog path?), and seasonality_mode='multiplicative'.

tests: fake forecaster that records X_df, check holiday columns line up with the future dates. docs: update the ignored-arguments note in docs/prophet-adapter.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions