Skip to content

Update GLM-poisson-regression to best practices state #154

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

Merged
merged 2 commits into from
May 6, 2021

Conversation

chiral-carbon
Copy link
Collaborator

Addresses issue #86 and aims to advance it to best practices state.

General Updates

  • Uses numpy.Generator
  • Modifies cells 15 and 19 to compute exponent before calling az.summary

ArviZ Related

  • Uses arg kind=stats rather than manually subsetting columns for stats in cells 15 and 19 to display summary

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@review-notebook-app
Copy link

review-notebook-app bot commented May 6, 2021

View / edit / reply to this conversation on ReviewNB

OriolAbril commented on 2021-05-06T15:05:07Z
----------------------------------------------------------------

Can you add a note to the tracker issue for this notebook that this cell may benefit from https://github.com/arviz-devs/arviz/issues/1469? It is still a feature request and will be some time until it's done and released, so it makes no sense to pause the PR until this is finished, but it will be good to keep track of this I think


chiral-carbon commented on 2021-05-06T18:15:51Z
----------------------------------------------------------------

yes, sure. should I just comment under it and cite the Warning I get in this cell? asking because I'm a little unclear as to what exactly I should mention.

OriolAbril commented on 2021-05-06T21:41:23Z
----------------------------------------------------------------

yes, this is fine. Seeing the comment on the issue and looking at the notebook should be enough to link things up

@review-notebook-app
Copy link

review-notebook-app bot commented May 6, 2021

View / edit / reply to this conversation on ReviewNB

OriolAbril commented on 2021-05-06T15:05:08Z
----------------------------------------------------------------

xarray and theano need to be added here


chiral-carbon commented on 2021-05-06T17:40:28Z
----------------------------------------------------------------

right, will add

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.

Thanks for the PR, I think it can be merged after updating the watermark

Copy link
Member

yes, this is fine. Seeing the comment on the issue and looking at the notebook should be enough to link things up


View entire conversation on ReviewNB

@OriolAbril OriolAbril merged commit fc3a75e into pymc-devs:main May 6, 2021
@chiral-carbon chiral-carbon added outreachy2021 tracker id Issues used as trackers in the notebook update project, do not close! and removed tracker id Issues used as trackers in the notebook update project, do not close! labels Jun 14, 2021
@chiral-carbon chiral-carbon deleted the glm-poisson-regression branch August 27, 2021 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants