Instantly share code, notes, and snippets.
Hey Austin. I run into a bug on this around the \nu cens - TypeError: TensorType does not support boolean mask for indexing such as tensor[x==0]. Instead you can use non_zeros() such as tensor[(x == 0).nonzeros()].
Any suggestions. I tried doing n[(cens).nonzero()] but it leads to problems with alignment further on.
@peadarcoylezopa what PyMC3 and Theano versions are you using?
Hey Austin - the bug turned out to be fixed by a newer version of theano.
Glad to hear it!