-
|
Hi! I'm trying to understand how I could pass different Prior distributions to each of my control variables. Something like: prior = md.model.prior_distribution.PriorDistribution(
gamma_c=[
tfp.distributions.half_normal.Normal(0, 1),
tfp.distributions.half_normal.HalfNormal(5),
],
)But the above sample doesn't work, since it expects a single distribution. I tried using the |
Beta Was this translation helpful? Give feedback.
Answered by
alexwakim
Sep 4, 2024
Replies: 1 comment 1 reply
-
|
Hi, we don't currently support mixing distributions for a single parameter. Can you use tfp.distriubtions.TruncatedNormal to get something close to what you want? You can use different points of truncation. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anor4k
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, we don't currently support mixing distributions for a single parameter.
Can you use tfp.distriubtions.TruncatedNormal to get something close to what you want? You can use different points of truncation.