-
Notifications
You must be signed in to change notification settings - Fork 2.1k
WIP tidy notebooks #1535
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
WIP tidy notebooks #1535
Conversation
Easy check on a lot of these is whether they use the tqdm-style On Fri, Nov 18, 2016 at 5:14 PM Peadar Coyle notifications@github.com
|
Are these related to the other Theano errors we ran into before? |
Yeah I only changed ipynb files so it's hard to see how any changes could have resulted in these errors. |
Can confirm that the same tests fail on master in the docker image. |
So it's unrelated to this converge, we've got some tests coming back. It looks to me like a theano error - what do you think @ColCarroll |
Yeah -- a rebase off master should fix the failure. |
The model selection stuff is useful, however it's included in the documentation right? |
Cleanup of several notebooks Additional cleanup of notebooks Cleanup of additional notebooks Removed discrete_find_MAP.ipynb Cleanup of several notebooks Additional cleanup of notebooks Cleanup of additional notebooks WIP: Notebooks updated rugby analytics
918932e
to
4b8ac49
Compare
I rebased and reran the Rugby Analytics notebook. |
Ok the test errors are resolved. @fonnesbeck are you ready to merge yet? |
Not yet, no. Will remove the WIP tag when done. I'm tallying problems with the current set of notebooks, with respect to how they run locally from the current master. Several take hours to run, which probably means we should exclude them from the examples unless they can be revised. |
Cleanup of several notebooks Additional cleanup of notebooks Cleanup of additional notebooks Removed discrete_find_MAP.ipynb Cleanup of several notebooks Additional cleanup of notebooks Cleanup of additional notebooks WIP: Notebooks updated rugby analytics
The LKJ notebook appears broken. See the divergent traceplot in the current commit. |
Other than the list at the top of the page, the notebooks look good in this PR. I'm happy to drop these notebooks for the release, unless an easy fix can be found (everything does not have to be a bundled example, after all). Please have a look. |
That's all fine by me. Happy that these notebooks are dropped for the On 23 Nov 2016 8:39 PM, "Chris Fonnesbeck" notifications@github.com wrote:
|
LKJ used Metropolis initially, maybe we should switch it back. |
|
Actually that's a good point, since Probabilistic Matrix Factorization is a good use case for Bayesian Stats - maybe just adding a warning 'this will take a while'. |
Cleanup of several notebooks Additional cleanup of notebooks Cleanup of additional notebooks Removed discrete_find_MAP.ipynb Cleanup of several notebooks Additional cleanup of notebooks Cleanup of additional notebooks WIP: Notebooks updated rugby analytics
65ffd6b
to
e7d201b
Compare
Rebased. |
… now that we auto-init in this manner.
OK, I fixed the issues in the NBs and removed 2 (logistic and nuts scaling). I think we should keep pmf and survival in their current form -- they are slow but complex models so a longer running time is acceptable. Long term we should work on improving the inference to make those faster. |
I also converted the getting started NB to use auto-assigned step methods and NUTS auto-initialization. Makes the code and text much simpler. |
I'm happy with this. Thanks for lending a hand. |
In the future, we should probably avoid growing the bundled notebooks set any larger. Not everything has to be included in the repository. Might be worth setting up a site (repo/wiki?) to house a wider array of examples. There is a fair amount of overlap among the current set of notebooks, and several are not well-annotated, so new notebooks should probably displace an existing one, rather than expanding the set. |
Making sure all the notebooks run on current master before release, and cleaning up (e.g. deleting stray cells and correcting typos).
Removed
discrete_find_MAP.ipynb
for now; we can replace it after 3.0 release if we can make it work.GLM-logistic
does not sample properlyGLM-model-selection
takes over an hour to run. Perhaps not worth bundling with the examples?survival_analysis.ipynb
andpmf_pymc.ipynb
both unacceptably slow as written. Need to revised or drop.NUTS_scaling_using_ADVI
hangs on the NUTS initialised using ADVI mean section and does not produce a trace for NUTS initialise MAP at test_point sectionLKJ
notebook mysteriously stops mixing.Replaces #1465