meridian.model.media.MediaTensors

Container for (paid) media tensors.

media
A tensor constructed from InputData.media .
media_spend
A tensor constructed from InputData.media_spend .
media_transformer
A MediaTransformer to scale media tensors using the model's media data.
media_scaled
The media tensor normalized by population and by the median value.
prior_media_scaled_counterfactual
A tensor containing media_scaled values corresponding to the counterfactual scenario required for the prior calculation. For ROI priors, the counterfactual scenario is where media is set to zero during the calibration period. For mROI priors, the counterfactual scenario is where media is increased by a small factor for all n_media_times . For contribution priors, the counterfactual scenario is where media is set to zero for all n_media_times . This attribute is set to None when it would otherwise be a tensor of zeros, i.e., when contribution contribution priors are used, or when ROI priors are used and roi_calibration_period is None .
prior_denominator
If ROI, mROI, or contribution priors are used, this represents the denominator. It is a tensor with dimension equal to n_media_channels . For ROI priors, it is the spend during the overlapping time periods between the calibration period and the modeling time window. For mROI priors, it is the ROI prior denominator multiplied by a small factor. For contribution priors, it is the total observed outcome (repeated for each channel.)

Methods

__eq__

Return self==value.

media
None
media_scaled
None
media_spend
None
media_transformer
None
prior_denominator
None
prior_media_scaled_counterfactual
None

Design a Mobile Site
View Site in Mobile | Classic
Share by: