From 11946a29accbf342892013b16dcdc1cce2d3e9ba Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Thu, 18 Nov 2021 12:16:50 +0100 Subject: [PATCH 1/7] Add section about no-yet refactored features Closes #5149 --- RELEASE-NOTES.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index ccde13925b..756b3de2de 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -10,6 +10,19 @@ Instead update the vNext section until 4.0.0 is out. ## PyMC vNext (4.0.0-beta1 → 4.0.0-beta2 → 4.0.0) ⚠ The changes below are the delta between the upcoming releases `v3.11.5` →...→ `v4.0.0`. +### No-yet working features +We plan to get these working again, but at this point their inner workings have not been refactored. +- Timeseries distributions (`AR1`, `AR`, `GaussianRandomWalk`, `GARCH11`, `EulerMaruyama`, `MvGaussianRandomWalk`, `MvStudentTRandomWalk`), see #4642 +- Mixture distributions +- Cholesky distributions +- Parts of the Gaussian process module (see #5035) +- Variational inference submodule (WIP PR #4582) +- Elliptical slice sampling (#5137) +- `BaseStochasticGradient` (#5138) +- `pm.sample_posterior_predictive_w` (see #4807) + +Also check out the [milestones](https://github.com/pymc-devs/pymc/milestones) for a potentially more complete list. + ### Unexpected breaking changes (action needed) + New API is not available in `v3.11.5`. + Old API does not work in `v4.0.0`. From 03e98cb78c071e700bc3116d144585f0b84834b5 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Wed, 1 Dec 2021 19:01:50 +0100 Subject: [PATCH 2/7] Update release notes about the GP submodule --- RELEASE-NOTES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 756b3de2de..b0541c4d0b 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -15,7 +15,6 @@ We plan to get these working again, but at this point their inner workings have - Timeseries distributions (`AR1`, `AR`, `GaussianRandomWalk`, `GARCH11`, `EulerMaruyama`, `MvGaussianRandomWalk`, `MvStudentTRandomWalk`), see #4642 - Mixture distributions - Cholesky distributions -- Parts of the Gaussian process module (see #5035) - Variational inference submodule (WIP PR #4582) - Elliptical slice sampling (#5137) - `BaseStochasticGradient` (#5138) @@ -55,6 +54,8 @@ All of the above apply to: - `pm.DensityDist` no longer accepts the `logp` as its first position argument. It is now an optional keyword argument. If you pass a callable as the first positional argument, a `TypeError` will be raised (see [5026](https://github.com/pymc-devs/pymc/pull/5026)). - `pm.DensityDist` now accepts distribution parameters as positional arguments. Passing them as a dictionary in the `observed` keyword argument is no longer supported and will raise an error (see [5026](https://github.com/pymc-devs/pymc/pull/5026)). - The signature of the `logp` and `random` functions that can be passed into a `pm.DensityDist` has been changed (see [5026](https://github.com/pymc-devs/pymc/pull/5026)). +- Changes to the Gaussian process (`gp`) submodule: + - The `gp.prior(..., shape=...)` kwarg was renamed to `size`. - Changes to the BART implementation: - A BART variable can be combined with other random variables. The `inv_link` argument has been removed (see [4914](https://github.com/pymc-devs/pymc3/pull/4914)). - Moved BART to its own module (see [5058](https://github.com/pymc-devs/pymc3/pull/5058)). From c3246853ea9c893712051d102248d7a0f07624a6 Mon Sep 17 00:00:00 2001 From: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> Date: Mon, 13 Dec 2021 11:16:25 +0100 Subject: [PATCH 3/7] Update RELEASE-NOTES.md --- RELEASE-NOTES.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index b0541c4d0b..7d5b990737 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -12,13 +12,14 @@ Instead update the vNext section until 4.0.0 is out. ### No-yet working features We plan to get these working again, but at this point their inner workings have not been refactored. -- Timeseries distributions (`AR1`, `AR`, `GaussianRandomWalk`, `GARCH11`, `EulerMaruyama`, `MvGaussianRandomWalk`, `MvStudentTRandomWalk`), see #4642 -- Mixture distributions -- Cholesky distributions -- Variational inference submodule (WIP PR #4582) -- Elliptical slice sampling (#5137) -- `BaseStochasticGradient` (#5138) -- `pm.sample_posterior_predictive_w` (see #4807) +- Timeseries distributions (see [#4642](https://github.com/pymc-devs/pymc/issues/4642)) +- Mixture distributions (see [#4781](https://github.com/pymc-devs/pymc/issues/4781)) +- Cholesky distributions (see WIP PR [#4784](https://github.com/pymc-devs/pymc/pull/4784)) +- Variational inference submodule (WIP PR [#4582](https://github.com/pymc-devs/pymc/pull/4582)) +- Elliptical slice sampling (see [#5137](https://github.com/pymc-devs/pymc/issues/5137)) +- `BaseStochasticGradient` (see [#5138](https://github.com/pymc-devs/pymc/issues/5138)) +- `pm.sample_posterior_predictive_w` (see [#4807](https://github.com/pymc-devs/pymc/issues/4807)) +- Partially observed Multivariate distributions (see [#5260](https://github.com/pymc-devs/pymc/issues/5260)) Also check out the [milestones](https://github.com/pymc-devs/pymc/milestones) for a potentially more complete list. From a9777fd2e5d0f9b3c4c734b0ba64a34135026da9 Mon Sep 17 00:00:00 2001 From: Ricardo Vieira <28983449+ricardoV94@users.noreply.github.com> Date: Mon, 13 Dec 2021 11:17:21 +0100 Subject: [PATCH 4/7] Update RELEASE-NOTES.md --- RELEASE-NOTES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 7d5b990737..7d1c53043a 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -15,7 +15,7 @@ We plan to get these working again, but at this point their inner workings have - Timeseries distributions (see [#4642](https://github.com/pymc-devs/pymc/issues/4642)) - Mixture distributions (see [#4781](https://github.com/pymc-devs/pymc/issues/4781)) - Cholesky distributions (see WIP PR [#4784](https://github.com/pymc-devs/pymc/pull/4784)) -- Variational inference submodule (WIP PR [#4582](https://github.com/pymc-devs/pymc/pull/4582)) +- Variational inference submodule (see WIP PR [#4582](https://github.com/pymc-devs/pymc/pull/4582)) - Elliptical slice sampling (see [#5137](https://github.com/pymc-devs/pymc/issues/5137)) - `BaseStochasticGradient` (see [#5138](https://github.com/pymc-devs/pymc/issues/5138)) - `pm.sample_posterior_predictive_w` (see [#4807](https://github.com/pymc-devs/pymc/issues/4807)) From 980db1011847c2881e56a9b30bdfa57696744d64 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Wed, 15 Dec 2021 19:46:35 +0100 Subject: [PATCH 5/7] Mention new PyPI channel and explicit kwargs in GP submodule --- RELEASE-NOTES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 7d1c53043a..c23e18adbc 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -29,7 +29,7 @@ Also check out the [milestones](https://github.com/pymc-devs/pymc/milestones) fo All of the above apply to: -- ⚠ The library is now named, installed and imported as "pymc". +- ⚠ The library is now named, installed and imported as "pymc". For example: `pip install pymc`. - ⚠ Theano-PyMC has been replaced with Aesara, so all external references to `theano`, `tt`, and `pymc3.theanof` need to be replaced with `aesara`, `at`, and `pymc.aesaraf` (see [4471](https://github.com/pymc-devs/pymc/pull/4471)). - `pm.Distribution(...).logp(x)` is now `pm.logp(pm.Distribution(...), x)` - `pm.Distribution(...).logcdf(x)` is now `pm.logcdf(pm.Distribution(...), x)` @@ -57,6 +57,7 @@ All of the above apply to: - The signature of the `logp` and `random` functions that can be passed into a `pm.DensityDist` has been changed (see [5026](https://github.com/pymc-devs/pymc/pull/5026)). - Changes to the Gaussian process (`gp`) submodule: - The `gp.prior(..., shape=...)` kwarg was renamed to `size`. + - Multiple methods including `gp.prior` now require explicit kwargs. - Changes to the BART implementation: - A BART variable can be combined with other random variables. The `inv_link` argument has been removed (see [4914](https://github.com/pymc-devs/pymc3/pull/4914)). - Moved BART to its own module (see [5058](https://github.com/pymc-devs/pymc3/pull/5058)). From 4766f0605ef18839ffa9dc89fedeab1381d902c1 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Wed, 15 Dec 2021 19:47:39 +0100 Subject: [PATCH 6/7] Append beta1 indicator to `__version__` --- pymc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymc/__init__.py b/pymc/__init__.py index 6592d83e35..27d08257dc 100644 --- a/pymc/__init__.py +++ b/pymc/__init__.py @@ -13,7 +13,7 @@ # limitations under the License. # pylint: disable=wildcard-import -__version__ = "4.0.0" +__version__ = "4.0.0-beta1" import logging import multiprocessing as mp From cc3129d4611aeb482af276d7249b189e9f9d6f48 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Wed, 15 Dec 2021 20:54:49 +0100 Subject: [PATCH 7/7] Follow PEP 440 for beta version naming --- RELEASE-NOTES.md | 2 +- pymc/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index c23e18adbc..606d4e373d 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -7,7 +7,7 @@ Instead update the vNext section until 4.0.0 is out. ⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠ --> -## PyMC vNext (4.0.0-beta1 → 4.0.0-beta2 → 4.0.0) +## PyMC vNext (4.0.0b1 → 4.0.0b2 → 4.0.0) ⚠ The changes below are the delta between the upcoming releases `v3.11.5` →...→ `v4.0.0`. ### No-yet working features diff --git a/pymc/__init__.py b/pymc/__init__.py index 27d08257dc..7bd2dc2204 100644 --- a/pymc/__init__.py +++ b/pymc/__init__.py @@ -13,7 +13,7 @@ # limitations under the License. # pylint: disable=wildcard-import -__version__ = "4.0.0-beta1" +__version__ = "4.0.0b1" import logging import multiprocessing as mp