CmdStanPy returns the draws from a set of sampler outputs as a 3-D array arranged draws X chains X sampler/model(params,qois) 3-D array.
I’m working on issue https://github.com/stan-dev/cmdstanpy/issues/263 - which is to harmonize behavior with CmdStanR which has method draws
- so changins [CmdStanMCMC object property sample](https://cmdstanpy.readthedocs.io/en/latest/api.html#cmdstanpy.CmdStanMCMC.sample)
to function draws
which has argument inc_warmup
which specifies whether or not to include the warmup draws.
so my question is, if you ran the sampler with argument save_warmup=True
, what is the most natural way to call function draws
:
- default is to always include warmup -
inc_warmup=True
by default, and ifsave_warmup=False
don’t complain - default is to always omit warmup -
inc_warmup=False
by default, and ifinc_warmup=True
but if sampler run hadsave_warmup=False
, then complain
comments welcome here or via GitHub issue.