FourierEffect#

pydantic model pymc_marketing.mmm.additive_effect.FourierEffect[source]#

Fourier seasonality additive effect for MMM.

Methods

FourierEffect.__init__(**data)

Create a new model by parsing and validating input data from keyword arguments.

FourierEffect.create_data(mmm)

Create the required data in the model.

FourierEffect.create_effect(mmm)

Create the Fourier effect in the model.

FourierEffect.from_dict(data)

Reconstruct from a dict, using registry for nested Fourier type.

FourierEffect.set_data(mmm, model, X)

Set the data for new predictions.

FourierEffect.to_dict([_orig])

Serialize to a dict via Pydantic model_dump.

field date_dim_name: str = 'date'[source]#
field fourier: Annotated[FourierBase, InstanceOf()] [Required][source]#