Skip to content

Commit

Permalink
Merge branch 'fix-4206' of https://github.com/michaelosthege/pymc3 in…
Browse files Browse the repository at this point in the history
…to fix-4206
  • Loading branch information
michaelosthege committed Dec 20, 2020
2 parents 3e52058 + ec796ad commit 0a5b04b
Show file tree
Hide file tree
Showing 106 changed files with 324 additions and 94,359 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/source/pymc-examples"]
path = docs/source/pymc-examples
url = git@github.com:pymc-devs/pymc-examples.git
22 changes: 0 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ repos:
- id: requirements-txt-fixer
exclude: ^requirements-dev\.txt$
- id: trailing-whitespace
- repo: https://github.com/nbQA-dev/nbQA
rev: 0.5.5
hooks:
- id: nbqa-black
additional_dependencies: [black==20.8b1]
- id: nbqa-isort
additional_dependencies: [isort==5.6.4]
- id: nbqa-pyupgrade
additional_dependencies: [pyupgrade==2.7.4]
args: [--py37-plus]
- repo: https://github.com/PyCQA/isort
rev: 5.6.4
hooks:
Expand All @@ -45,18 +35,6 @@ repos:
files: ^pymc3/
- repo: local
hooks:
- id: watermark
args: [--negate, --multiline]
entry: '%load_ext watermark.*%watermark -n -u -v -iv -w'
language: pygrep
minimum_pre_commit_version: 2.8.0
name: Check notebooks have watermark (see Jupyter style guide from PyMC3 Wiki)
types: [jupyter]
- id: check-toc
entry: python scripts/check_toc_is_complete.py
language: python
name: Check all notebooks appear in table of contents
types: [jupyter]
- id: check-no-tests-are-ignored
entry: python scripts/check_all_tests_are_covered.py
files: ^\.github/workflows/pytest\.yml$
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ Sponsors

.. |Binder| image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/pymc-devs/pymc3/master?filepath=%2Fdocs%2Fsource%2Fnotebooks
.. |Build Status| image:: https://travis-ci.org/pymc-devs/pymc3.svg?branch=master
:target: https://travis-ci.org/pymc-devs/pymc3
.. |Build Status| image:: https://github.com/pymc-devs/pymc3/workflows/pytest/badge.svg
:target: https://github.com/pymc-devs/pymc3/actions
.. |Coverage| image:: https://codecov.io/gh/pymc-devs/pymc3/branch/master/graph/badge.svg
:target: https://codecov.io/gh/pymc-devs/pymc3
.. |Dockerhub| image:: https://img.shields.io/docker/automated/pymc/pymc3.svg
Expand Down
6 changes: 4 additions & 2 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Notes

## PyMC3 3.11.0 (on deck)
## PyMC3 vNext (on deck)
This release breaks some APIs w.r.t. `3.10.0`.
It also brings some dreadfully awaited fixes, so be sure to go through the changes below.
(Or latest when you run into problems.)
Expand All @@ -16,11 +16,13 @@ It also brings some dreadfully awaited fixes, so be sure to go through the chang
- Removed `theanof.set_theano_config` because it illegally touched Theano's privates (see [#4329](https://github.com/pymc-devs/pymc3/pull/4329)).

### New Features
- ...
- `OrderedProbit` distribution added (see [#4232](https://github.com/pymc-devs/pymc3/pull/4232)).
- `plot_posterior_predictive_glm` now works with `arviz.InferenceData` as well (see [#4234](https://github.com/pymc-devs/pymc3/pull/4234))

### Maintenance
- Fixed bug whereby partial traces returns after keyboard interrupt during parallel sampling had fewer draws than would've been available [#4318](https://github.com/pymc-devs/pymc3/pull/4318)
- Make `sample_shape` same across all contexts in `draw_values` (see [#4305](https://github.com/pymc-devs/pymc3/pull/4305)).
- The notebook gallery has been moved to https://github.com/pymc-devs/pymc-examples (see [#4348](https://github.com/pymc-devs/pymc3/pull/4348)).


## PyMC3 3.10.0 (7 December 2020)
Expand Down
1 change: 1 addition & 0 deletions build_and_deploy_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
latesttag=$(git describe --tags `git rev-list --tags --max-count=1`)
echo checking out ${latesttag}
git checkout ${latesttag}
git submodule update --init --recursive
pushd docs/source
make html
ghp-import -c docs.pymc.io -n -p _build/html/
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
</div>
</a>

<a class="ui link card" href="/notebooks/variational_api_quickstart.html">
<a class="ui link card" href="/pymc-examples/examples/variational_inference/variational_api_quickstart.html">
<div class="content">
<div class="header">Variational Inference</div>
<div class="description">Variational inference saves computational cost by turning a problem of integration into one of optimization. PyMC3's variational API supports a number of cutting edge algorithms, as well as minibatch for scaling to large datasets.
Expand Down
585 changes: 0 additions & 585 deletions docs/source/notebooks/AR.ipynb

This file was deleted.

697 changes: 0 additions & 697 deletions docs/source/notebooks/BEST.ipynb

This file was deleted.

702 changes: 0 additions & 702 deletions docs/source/notebooks/Bayes_factor.ipynb

This file was deleted.

Loading

0 comments on commit 0a5b04b

Please sign in to comment.