MMM Model Building with pymc-marketing
Model Constructor
from pymc_marketing.mmm.multidimensional import MMM
from pymc_marketing.mmm import GeometricAdstock, DelayedAdstock, LogisticSaturation
from pymc_extras.prior import Prior
model = MMM(
date_column="date",
channel_columns=channel_cols, # e.g., ["spend_SEM", "spend_TV", ...]
target_column="target_col_name", # NEW in multidimensional API
adstock=GeometricAdstock(l_max=5), # or DelayedAdstock(l_max=1
[Description truncada. Veja o README completo no GitHub.]