Hello!
Before building a model in pymc3, sometimes I would like to view the prior I am assigning. Is there a one line way to do this?
So far, I’ve found that broad steps are:
- g = pm.Normal.dist(mu=2, sd=0.5) to get the distribution
- distribution = g.random(size=3000) to get a numpy array
- plt.hist(distribution) to visualize the result
Have I overlooked a simpler way to do this?