set_data#

pymc_marketing.terms.set_data(param, *, ds, model)[source]#

Update shared data variables for out-of-sample prediction.

Parameters:
paramModelTerm, Sum, Product, int, or float

The term(s) to update.

dsxr.Dataset

New dataset for prediction.

modelpm.Model

The PyMC model to update.