pymc-devs / pymc-experimental

https://pymc-experimental.readthedocs.io
Other
77 stars 49 forks source link

successive SMC inference loops #379

Open myravian opened 2 weeks ago

myravian commented 2 weeks ago

Hi there,

I was experimentng with jax sampling and instead of running successive calls to sample_smc_blackjax (which I thought would be useful to compare the posteriors and enable rhat-like diagnostics), I was wondering whether it would make sense to hard code a given number of (successive) jobs in the code itself (pymc_experimental/inference/smc/sampling.py). Does it make sense to build the kernel only once, then runs several inference_loop + arviz_from_particles?

Cheers, Vian

ricardoV94 commented 13 hours ago

CC @ciguaran