Closed erik-werner closed 9 months ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
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.
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.
View entire conversation on ReviewNB
pre-commit is failing.
But the errors are unrelated to my changes:
black-jupyter.................................................................................Failed
- hook id: black-jupyter
- files were modified by this hook
reformatted examples/case_studies/nyc_bym.ipynb
reformatted examples/howto/model_builder.ipynb
All done! ✨ 🍰 ✨
2 files reformatted, 129 files left unchanged.
Shall I fix them as part of this pull request anyway? It's easily done. Or do you want me to open a new pull request where I fix these errors?
@erik-werner Ah, in that case you can:
Which do you prefer?
@twiecki I'll fix it here then!
Thanks @erik-werner, this is a great contribution!
Issue #100
:books: Documentation preview :books:: https://pymc-examples--581.org.readthedocs.build/en/581/