regressor_column_matrix: Dataframe indicating which columns of the feature matrix...

Description Usage Arguments Value

Description

Includes combination components, like 'additive_terms'. These combination components will be added to the 'modes' input.

Usage

1
regressor_column_matrix(m, seasonal.features, modes)

Arguments

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.

Value

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.


prophet documentation built on March 30, 2021, 5:05 p.m.