Is it possible to change lag weights of ad-stocking in custom prior at a individual channel level? #178
Replies: 1 comment 1 reply
-
Regarding changing the
Note that essentially you're creating 2 arrays of concentrations to feed into the Beta distribution, each of length Keep in mind that the default distribution for |
Beta Was this translation helpful? Give feedback.
-
Hi there,
As of now, I'm using custom prior to reduce my lag weight of ad-stocking. And this custom prior tweak applies to all channels. Below is my code for reference.
I would like to individually modify lag weights for specific channels using custom prior. Is there are a way already to do it? or is this something not achievable? Looking forward to your help! Thanks!
mmm_hill_adstock.fit( media=media_data_train, media_prior=costs, target=target_train, extra_features=extra_features_train, number_warmup=number_warmup, number_samples=number_samples, seed=SEED, media_names=['brand_s', 'other_display_s', 'liftoff_s', 'sem_non_branded_s', 'sem_branded_s', 'sem_google_uac_s', 'paid_social_s','parcel_s', 'podcast_s', 'tv_s', 'ooh_s', 'radio_s'], custom_priors={"lag_weight": numpyro.distributions.Beta(concentration1=1, concentration0=4)})
Beta Was this translation helpful? Give feedback.
All reactions