density#
- pymc_marketing.mmm.utils.density(dist, *, value, **params)[source]#
Request density of dist at value.
This helper creates dist with dummy
params, requests its density frompymc.logpand then reintroduces the originalparamsvalues. This avoids accidental rewrite of random graphs above params when the logp cannot be obtained by direct dispatch