-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Further explanation when Potentials have impact on posterior sampling #7744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What does this mean? I guess Potentials can only affect what is in their graph, so we could do a fancier check. However, if you have a model with Potentials and know it's safe you can also suppress the warning on your end? We can define a warning subclass to make it easier to filter. |
For instance, examples that use the potential to add a constraint to the parameters of the model. However, this is still a likelihood of the model Lines 2344 to 2353 in af81955
In comparison, the last example which uses the potential as the primary lielihood of the model Lines 2359 to 2371 in af81955
Is it correct to think the effect of sampling with posterior is different in these two cases? And the first one would not be affected if just looking at the likelihood variable? |
When does the use of Potential have an impact on posterior predictive sampling?
pymc/pymc/model/core.py
Lines 2274 to 2278 in 6ef135b
It seems like sampling distributions only given InferenceData.posterior samples would not be affected by Potentials. Is it possible to refrain from warning given
the variables being sampled?
The text was updated successfully, but these errors were encountered: