In PyMC2, there are random () and value () methods for generating a random value and obtaining the current value of random variables. Is there a way to do the same in PyMC3?
p = pm.Dirichlet('p', theta=np.array([1., 1., 1.])) p.random() p.value
source share