Skip to content

Instantly share code, notes, and snippets.

@abhijeet-talaulikar
Last active June 30, 2023 03:12
Show Gist options
  • Save abhijeet-talaulikar/0b4e31f20ee5eacddd4023957f080ebe to your computer and use it in GitHub Desktop.
Save abhijeet-talaulikar/0b4e31f20ee5eacddd4023957f080ebe to your computer and use it in GitHub Desktop.
# define coefficient
channel_prior = channel_priors[channel]
channel_coefficient = pm.TruncatedNormal(f"coefficient_{channel}", mu=channel_prior, sigma=0.0001, lower=0, upper=0.15)
# define saturation
alpha = pm.Uniform(f"alpha_{channel}", lower=0.5, upper=2)
gamma = pm.Uniform(f"gamma_{channel}", lower=0.5, upper=1.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment