MultiDimensionalBudgetOptimizerWrapper.sample_response_distribution#

MultiDimensionalBudgetOptimizerWrapper.sample_response_distribution(allocation_strategy, noise_level=0.001)[source]#

Generate synthetic dataset and sample posterior predictive based on allocation.

Parameters:
allocation_strategyDataArray

The allocation strategy for the channels.

noise_levelfloat

The relative level of noise to add to the data allocation.

Returns:
az.InferenceData

The posterior predictive samples based on the synthetic dataset.