How to determine user truth in PyMC3? In PyMC2, I could use @pymc.potential . I tried using pymc.Potential in PyMC3, however it seems that the logical operations cannot be applied to the parameters (I get an error like this when I do this). For example, the following code does not work:
from pymc import * with Model() as model: x = Normal('x', 1, 1) def z(u): if u > 0:
It is not possible to change all comparisons within probability with Theano syntax (ie theano.tensor. {Lt, le, eq, neq, gt, ge}). Do I need to use a likelihood function similar to PyMC2?
source share