Dataframe indicating which columns of the feature matrix correspond to which seasonality/regressor components.
Includes combination components, like 'additive_terms'. These combination components will be added to the 'modes' input.
regressor_column_matrix(m, seasonal.features, modes)
m |
Prophet object. |
seasonal.features |
Constructed seasonal features dataframe. |
modes |
List with keys 'additive' and 'multiplicative' with arrays of component names for each mode of seasonality. |
List with items component.cols: A binary indicator dataframe with columns seasonal components and rows columns in seasonal.features. Entry is 1 if that column is used in that component. modes: Updated input with combination components.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.