I’m trying to get a better sense of the distinction between
num_particles in Trace_ELBO vs
batch_size in plates for our observation/likelihood.
From my understanding
num_particles refers to the number of samples/observations taken to estimate the gradients for the ELBO and its evaluation (defualt is a single observation), whereas
batch_size refers to the number of sub-samples taken when when defining the model itself.
I’m still a little confused as to how these differ, and how it would operate if different values were passed to both. I did see another thread on using different values for these parameters, but I’m left with little understanding as what their conceptual differences are. Any help/clarification would be greatly appreciated.