The same Predictive sampling outcomes for obs variable when enumerating discrete variables

numpyro provides the same sampling results for observed variables when enumerating latent discrete variables.

How can I handle it?

Thanks in advance!

We don’t support getting predictive distribution with enumerated model. We support getting posterior samples for discrete latent variables of an enumerated model. Then you can use those posterior samples to get predictive distribution of non-enumerated model. Could you clarify what you are trying to do?

1 Like

Sorry for replying late!
Just for posterior model checking. I think manually sampling the posterior prediction samples via numpy might solve this.