Skip to content
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

Merged
merged 7 commits into from
Nov 23, 2023

Conversation

wesleyboelrijk
Copy link
Contributor

@wesleyboelrijk wesleyboelrijk commented Sep 16, 2023

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.

Screenshot 2023-09-16 at 15 59 13

Helpful links


📚 Documentation preview 📚: https://pymc-examples--575.org.readthedocs.build/en/575/

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Contributor

@drbenvincent drbenvincent left a 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/case_studies/nyc_bym.ipynb Outdated Show resolved Hide resolved
examples/howto/model_builder.ipynb Outdated Show resolved Hide resolved
requirements-docs.txt Show resolved Hide resolved
@wesleyboelrijk
Copy link
Contributor Author

Hi @wesleyboelrijk. Thanks for the contribution! Looks great, but I just left a few minor change requests.

Thanks @drbenvincent and @OriolAbril for the feedback! I made the requested changes. Let me know if any other changes are required :)

Copy link
Member

@OriolAbril OriolAbril left a 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

requirements-docs.txt Outdated Show resolved Hide resolved
@OriolAbril OriolAbril merged commit 695a1b0 into pymc-devs:main Nov 23, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants