-
-
Notifications
You must be signed in to change notification settings - Fork 257
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
Update notebook GLM-negative-binomial-regression to pymc v5 #573 #575
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @wesleyboelrijk. Thanks for the contribution! Looks great, but I just left a few minor change requests.
examples/generalized_linear_models/GLM-negative-binomial-regression.ipynb
Outdated
Show resolved
Hide resolved
examples/generalized_linear_models/GLM-negative-binomial-regression.myst.md
Outdated
Show resolved
Hide resolved
…ok based on PR feedback
Thanks @drbenvincent and @OriolAbril for the feedback! I made the requested changes. Let me know if any other changes are required :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed an important part in the previous review
Description
Issue
#573
The notebook GLM-negative-binomial-regression was still using PyMC v4. I have updated it to PyMC v5.
Besides that, there is a dependency on seaborn, which was not listed in requirements-docs.txt. I have added this.
Lastly, seaborn gave a bunch of FutureWarnings upon plotting in the notebook. I added a warning suppression for those FutureWarnings.
Helpful links
📚 Documentation preview 📚: https://pymc-examples--575.org.readthedocs.build/en/575/