Hello,
My model consists of two simple distributions (a=DiscreteUniform and b=Uniform) and an additional extension of Discrete
with my own implementation of logp.
My custom logp implementation is pretty complicated (running a tree search mechanism with the values of a and b as parameters). The values of a and b are used in various ways. For example to determine an order in a priority queue.
I keep getting “TypeError: Variables do not support boolean operations.”. I guess this is because <=,==,> operations are not supported by theano.tensor. (I’m using numpy 1.13).
However, this seems like a trivial modeling issue. What is the right way to tackle this? what is a good workaround?
I’ve tried to call eval(), cast to floats/ints… nothing works.
Thanks.