FrequencyReachAdditiveEffect.set_data#
- FrequencyReachAdditiveEffect.set_data(mmm, model, X)[source]#
Update reach & frequency raw data for prediction dates.
Extends the registered pm.Data nodes
<prefix>_frequency_raw
and<prefix>_reach_raw
to any new dates in the model coordinates, filling unseen future dates with zeros. Does not accept a modified DataFrame; construct a new effect instance if the historical data themselves change.