BudgetOptimizer.objective#

BudgetOptimizer.objective(budgets)[source]#

Calculate the total response during a period of time given the budgets.

It considers the saturation and adstock transformations.

Parameters:
budgetslist[float]

The budgets for each channel.

Returns:
float

The negative total response value.