deserialize_alternative_prior#
- pymc_marketing.prior.deserialize_alternative_prior(data)[source]#
Alternative deserializer that recursively handles all nested parameters.
This implementation is more general and handles cases where any parameter might be a nested prior, and also extracts centered and transform parameters.
Examples
This handles cases like:
distribution: Gamma alpha: 1 beta: distribution: HalfNormal sigma: 1 dims: channel dims: [brand, channel]