Open
Description
Passing only free_RVs to sample_posterior_predictive
will cause errors due to logic assuming the prior_predictive
group.
Should I be able to do this?
mmm = MMM(...)
mmm.sample_prior_predictive(X, var_names=["saturation_beta", "adstock_alpha"])
If not, it doesn't fail automatically which I think should be forced if that is a requirement.
Failure reasons:
Version is trying to be attached to the prior_predictive (which wouldn't be present)
The prior_predictive group is explicitly being extracted
pymc-marketing/pymc_marketing/model_builder.py
Lines 888 to 890 in 8475c1c