facebook / facebook/prophet

Adding one-hot encoded variables as exogenous variables

Open
#2,117 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

I'm currently doing some forecasting on daily data and I was wondering whether is there a problem whenever i add exogenous variables (like the day of the week or month of the year) provided as one-hot encoded vectors? Isn't there a risk of reaching the known "dummy trap problem", as it is known to occur in traditional regression models and SARIMA? If this is true, then I would like to know whether the prophet library takes this into account when including such types of regressors.

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.