BudgetOptimizerWrapper#
- class pymc_marketing.mmm.mmm.BudgetOptimizerWrapper(model, start_date, end_date, compile_kwargs=None)[source]#
Wrapper for the BudgetOptimizer to handle multi-dimensional model.
Methods
BudgetOptimizerWrapper.__init__(model, ...)Return a PyMC model configured for
num_periodsoptimisation steps.Optimize the budget allocation for the model.
Generate synthetic dataset and sample posterior predictive based on allocation.
Attributes
plotAccess budget plotting functionality.
summaryAccess budget summary DataFrame generation functionality.
adstockidata