FrequencyReachAdditiveEffect.create_data#
- FrequencyReachAdditiveEffect.create_data(mmm)[source]#
Register pm.Data nodes required for the effect.
Creates two pm.Data tensors:
{prefix}_frequency_rawwith dims(date, *mmm.dims, rf_channel){prefix}_reach_rawwith dims(date, *mmm.dims, rf_channel)
Also adds an
rf_channelcoordinate to the current PyMC model context containing the sorted channel names from the DataFrame.- Parameters:
- mmm
Model The parent MMM instance (must have an active PyMC model context).
- mmm