-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 weibull_aft notebook #4020
Conversation
AmitKus
commented
Jul 19, 2020
•
edited by AlexAndorra
Loading
edited by AlexAndorra
- Fixed: AttributeError: module 'statsmodels' has no attribute 'datasets'
- Fixed: FutureWarnings
- Updated the notebook to follow the consistent style (https://github.com/pymc-devs/pymc3/wiki/PyMC's-Jupyter-Notebook-Style)
Check out this pull request on Review Jupyter notebook visual diffs & provide feedback on 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.
Thanks @AmitKus, this looks good! I just posted some comments below -- should be easy to address.
Tests are failing because of a Matplotlib issue, unrelated to your changes. Once #4023 is merged, you can rebase your current branch off master to take the changes into account and the tests should pass 😉
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-20T20:37:05Z
|
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-20T20:37:06Z Use |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-20T20:37:07Z Same comment as model 1 for |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-20T20:37:07Z Same comment as model 1 for |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-20T20:37:08Z Same comment as model 1 for |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-20T20:37:09Z Same comment as model 1 for |
Thanks @AlexAndorra for taking out time to review the changes. I made the changes you had suggested. |
Codecov Report
@@ Coverage Diff @@
## master #4020 +/- ##
=======================================
Coverage 86.77% 86.77%
=======================================
Files 88 88
Lines 14134 14134
=======================================
Hits 12265 12265
Misses 1869 1869 |
Thanks @AmitKus ! However, I don't think you rebased your branch -- you just picked up Robert's changes and integrated them into your PR. But these changes are already on the latest master. See what I mean? |
…sets' 2. Fixed: FutureWarnings 3. Updated the notebook to follow the consistent style using arviz functions directly to plot trace and summary 1. Fixed: AttributeError: module 'statsmodels' has no attribute 'datasets' 2. Fixed: FutureWarnings 3. Updated the notebook to follow the consistent style using arviz functions directly
Thanks for your patience @AlexAndorra :) |
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.
Well done @AmitKus, the git log looks all good now 👏
This is almost ready -- just left a few comments to address before merging 😉
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-22T08:55:21Z It seems that |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-22T08:55:21Z
These comments are valid for all the other models ;) AmitKus commented on 2020-07-22T17:39:26Z Hi Alex, Looks like the default for tune and draws is 500, so made all the changes that you recommended except deleting draws and tune.
Thanks, Amit |
View / edit / reply to this conversation on ReviewNB AlexAndorra commented on 2020-07-22T08:55:22Z
This comment is valid for all calls to
|
…ymc3 2. Other minor formatting
Hi Alex, Looks like the default for tune and draws is 500, so made all the changes that you recommended except deleting draws and tune.
Thanks, Amit View entire conversation on ReviewNB |
Thanks @AmitKus! This is weird though, the new default is 1000 for both tune and draws. |
Hey Alex, I just looked at the documentation for version 3.8 here: https://docs.pymc.io/api/inference.html If this has changed in the recent version then I'll update the code to remove tune and draw.
Sampling¶
|
Aaaaah ok, I see the confusion! Docs are actually not up-to-date with the latest version of the code yet (we're still updating some notebooks, as this one, so that they appear on the website when we compile the docs). |
… they were using specifying the default values.
I see. Made the changes to remove the tune and draws. |
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.
This is super nice now 🎉 Thanks for your help @AmitKus !
Great! Thanks for all the help @AlexAndorra |