What I tried so far:
- Create a
CustomDistfor they_obswith a customlogpfunction that draws from a python generator. - Create a similar
logpfunction that goes into thepm.Potentialfor they_obs. - Create a
CustomDistforwwhich has a generator for bothlogpandrandom.
But these seem to use only a handful (1-10) draws from the weights matrix (I keep track with an internal counter), instead of throughout the sampling.
However, my knowledge in the inner-works of pymc is very limited, I don’t always understand what I try ![]()