bambinos / bambi

BAyesian Model-Building Interface (Bambi) in Python.
https://bambinos.github.io/bambi/
MIT License
1.08k stars 124 forks source link

Add function that returns the prior as a dictionary #829

Open aloctavodia opened 3 months ago

aloctavodia commented 3 months ago

Now we can "see" the prior being used by printing the model. But it will be nice to have direct access to the dictionary of priors. This dictionary should be the one expected by priors argument in .Model(), or a string representing it. This will make it easier to modify priors and use functions like predictive_explorer from PreliZ