FrequencyReachAdditiveEffect.create_effect#
- FrequencyReachAdditiveEffect.create_effect(mmm)[source]#
Create transformed contribution (Meridian pipeline) and return aggregate effect.
- Steps inside the model graph:
frequency_sat = saturation(frequency_raw) effective_exposure_raw = reach_raw * frequency_sat effective_exposure_adstocked = adstock(effective_exposure_raw) channel_contribution = beta * effective_exposure_adstocked total_effect = sum_channel channel_contribution
Returns a tensor with dims (date, *mmm.dims) to be added to mu.