pymc-devs / pymc-examples

Examples of PyMC models, including a library of Jupyter notebooks.
https://www.pymc.io/projects/examples/en/latest/
MIT License
259 stars 211 forks source link

Update notebook Dirichlet mixture of multinomials to PyMC 5 #581

Closed erik-werner closed 9 months ago

erik-werner commented 9 months ago

Issue #100


:books: Documentation preview :books:: https://pymc-examples--581.org.readthedocs.build/en/581/

review-notebook-app[bot] commented 9 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

review-notebook-app[bot] commented 9 months ago

View / edit / reply to this conversation on ReviewNB

ricardoV94 commented on 2023-10-05T10:56:08Z ----------------------------------------------------------------

We should pass rng to .rvs(random_state=rng so the data is fixed.


erik-werner commented on 2023-10-05T11:15:08Z ----------------------------------------------------------------

Yep, I had actually just fixed this when I saw your comment :)

I'm working on some more updates, so it might be good to hold off on reviewing the rest of the notebook for now.