BUG: pm.sample_prior_predictive
reports it will sample all volatile basic RVs even when var_names
is supplied
#7703
Labels
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
When you pass a list of variable names to
pm.sample_prior_predictive
a message is logged that suggests a much larger list of variables will be sampled than what you might provide.The function appears to correctly constrain the list of output variables passed to
compile_forward_sampling_function
, and the returned data seems to correctly only contain the variables you request, but the logged message suggests it will sample all volatile basic RVs.Seems to be caused by this line:
pymc/pymc/sampling/forward.py
Line 452 in d1aff0b
Reproduceable code example:
Error message:
PyMC version information:
Currently running PyMC 5.21
Context for the issue:
low priority, but just wanted to make it known (or be told that my understanding is incorrect)
The text was updated successfully, but these errors were encountered: