- Notifications
You must be signed in to change notification settings - Fork2.2k
Open
Labels
Description
Describe the issue:
I think thatthis PR changed the behaviour of theCategoricalGibbsMetropolis sampler which now treats alltune anddraws asdraws. By comparison, the behaviour ofBinaryGibbsMetropolis was unchanged, so I am guessing that this change was unintended.
If intended I find this behaviour confusing and we should probably emit a warning message to clarify?
Reproduceable code example:
importpymcaspmwithpm.Model():pm.Categorical("cat", [0.02,0.08,0.9])idata=pm.sample(draws=20,tune=20)# Sampling 4 chains for 0 tune and 40 draw iterations (0 + 160 draws total)# Returns an idata object with 40 draws
Error message:
PyMC version information:
PyMC Version: 5.24 to current
Context for the issue:
No response