Skip to content

Commit 156cfb4

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 022c7be + 95accbd commit 156cfb4

File tree

261 files changed

+24215
-12676
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+24215
-12676
lines changed

.github/workflows/pre-commit.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [master]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
- uses: pre-commit/[email protected]

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ benchmarks/results/
4141
pytestdebug.log
4242
.dir-locals.el
4343
.pycheckers
44-

.pre-commit-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v3.2.0
4+
hooks:
5+
- id: end-of-file-fixer
6+
- id: check-toml
7+
- repo: https://github.com/nbQA-dev/nbQA
8+
rev: 0.3.2
9+
hooks:
10+
- id: nbqa-black
11+
- id: nbqa-isort
12+
- id: nbqa-pyupgrade
13+
- repo: https://github.com/asottile/pyupgrade
14+
rev: v2.7.2
15+
hooks:
16+
- id: pyupgrade
17+
args: [--py36-plus]
18+
- repo: https://github.com/psf/black
19+
rev: 20.8b1
20+
hooks:
21+
- id: black
22+
- repo: local
23+
hooks:
24+
- id: watermark
25+
name: Check notebooks have watermark
26+
types: [jupyter]
27+
entry: python scripts/check_watermark.py
28+
language: python

README.rst

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ large suite of problems.
1313
Check out the `getting started guide <http://docs.pymc.io/notebooks/getting_started>`__, or
1414
`interact with live examples <https://mybinder.org/v2/gh/pymc-devs/pymc3/master?filepath=%2Fdocs%2Fsource%2Fnotebooks>`__
1515
using Binder!
16+
For questions on PyMC3, head on over to our `PyMC Discourse <https://discourse.pymc.io/>`__ forum.
1617

1718
Features
1819
========
@@ -78,12 +79,7 @@ Or via conda-forge:
7879

7980
conda install -c conda-forge pymc3
8081

81-
Plotting is done using `ArviZ <https://arviz-devs.github.io/arviz/>`__
82-
which may be installed separately, or along with PyMC3:
83-
84-
::
85-
86-
pip install pymc3[plots]
82+
Plotting is done using `ArviZ <https://arviz-devs.github.io/arviz/>`__ - if you follow the installation instructions above, then it will be installed alongside ``PyMC3``.
8783

8884
The current development branch of PyMC3 can be installed from GitHub, also using ``pip``:
8985

@@ -172,7 +168,7 @@ Contributors
172168
============
173169

174170
See the `GitHub contributor
175-
page <https://github.com/pymc-devs/pymc3/graphs/contributors>`__
171+
page <https://github.com/pymc-devs/pymc3/graphs/contributors>`__. Also read our `Code of Conduct <https://github.com/pymc-devs/pymc3/blob/master/CODE_OF_CONDUCT.md>`__ guidelines for a better contributing experience.
176172

177173
Support
178174
=======

RELEASE-NOTES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,22 @@
33
## PyMC3 3.9.x (on deck)
44

55
### Maintenance
6+
- Switch the dependency of Theano to our own fork, [Theano-PyMC](https://github.com/pymc-devs/Theano-PyMC).
67
- Mentioned the way to do any random walk with `theano.tensor.cumsum()` in `GaussianRandomWalk` docstrings (see [#4048](https://github.com/pymc-devs/pymc3/pull/4048)).
78
- Fixed numerical instability in ExGaussian's logp by preventing `logpow` from returning `-inf` (see [#4050](https://github.com/pymc-devs/pymc3/pull/4050)).
89
- Use dill to serialize user defined logp functions in `DensityDist`. The previous serialization code fails if it is used in notebooks on Windows and Mac. `dill` is now a required dependency. (see [#3844](https://github.com/pymc-devs/pymc3/issues/3844)).
10+
- Numerically improved stickbreaking transformation - e.g. for the `Dirichlet` distribution. [#4129](https://github.com/pymc-devs/pymc3/pull/4129)
11+
- Enabled the `Multinomial` distribution to handle batch sizes that have more than 2 dimensions. [#4169](https://github.com/pymc-devs/pymc3/pull/4169)
912

1013
### Documentation
1114

1215
### New features
1316
- `sample_posterior_predictive_w` can now feed on `xarray.Dataset` - e.g. from `InferenceData.posterior`. (see [#4042](https://github.com/pymc-devs/pymc3/pull/4042))
17+
- Added `pymc3.gp.cov.Circular` kernel for Gaussian Processes on circular domains, e.g. the unit circle (see [#4082](https://github.com/pymc-devs/pymc3/pull/4082)).
18+
- Add MLDA, a new stepper for multilevel sampling. MLDA can be used when a hierarchy of approximate posteriors of varying accuracy is available, offering improved sampling efficiency especially in high-dimensional problems and/or where gradients are not available (see [#3926](https://github.com/pymc-devs/pymc3/pull/3926))
19+
- Change SMC metropolis kernel to independent metropolis kernel [#4115](https://github.com/pymc-devs/pymc3/pull/3926))
20+
- Add alternative parametrization to NegativeBinomial distribution in terms of n and p (see [#4126](https://github.com/pymc-devs/pymc3/issues/4126))
21+
- Added a new `MixtureSameFamily` distribution to handle mixtures of arbitrary dimensions in vectorized form (see [#4185](https://github.com/pymc-devs/pymc3/issues/4185)).
1422

1523

1624
## PyMC3 3.9.3 (11 August 2020)

benchmarks/benchmarks/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,3 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-

0 commit comments

Comments
 (0)