You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE-NOTES.md
+13-3
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,19 @@
1
1
# Release Notes
2
2
3
3
## PyMC3 vNext (on deck)
4
-
This is the first release to support Python3.9 and to drop Python3.6.
4
+
This release breaks some APIs w.r.t. `3.10.0`.
5
+
It also brings some dreadfully awaited fixes, so be sure to go through the changes below.
6
+
(Or latest when you run into problems.)
7
+
8
+
### Breaking Changes
9
+
- Python 3.6 support was dropped (by no longer testing) and Python 3.9 was added (see [#4332](https://github.com/pymc-devs/pymc3/pull/4332)).
10
+
- Changed shape behavior: __No longer collapse length 1 vector shape into scalars.__ (see [#4206](https://github.com/pymc-devs/pymc3/issue/4206) and [#4214](https://github.com/pymc-devs/pymc3/pull/4214))
11
+
-__Applies to random variables and also the `.random(size=...)` kwarg!__
12
+
- To create scalar variables you must now use `shape=None` or `shape=()`.
13
+
-__`shape=(1,)` and `shape=1` now become vectors.__ Previously they were collapsed into scalars
14
+
- 0-length dimensions are now ruled illegal for random variables and raise a `ValueError`.
15
+
- In `sample_prior_predictive` the `vars` kwarg was removed in favor of `var_names` (see [#4327](https://github.com/pymc-devs/pymc3/pull/4327)).
16
+
- Removed `theanof.set_theano_config` because it illegally changed Theano's internal state (see [#4329](https://github.com/pymc-devs/pymc3/pull/4329)).
5
17
6
18
### New Features
7
19
-`OrderedProbit` distribution added (see [#4232](https://github.com/pymc-devs/pymc3/pull/4232)).
@@ -10,8 +22,6 @@ This is the first release to support Python3.9 and to drop Python3.6.
10
22
### Maintenance
11
23
- 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)
12
24
- Make `sample_shape` same across all contexts in `draw_values` (see [#4305](https://github.com/pymc-devs/pymc3/pull/4305)).
13
-
- Removed `theanof.set_theano_config` because it illegally touched Theano's privates (see [#4329](https://github.com/pymc-devs/pymc3/pull/4329)).
14
-
- In `sample_posterior_predictive` the `vars` kwarg was removed in favor of `var_names` (see [#4343](https://github.com/pymc-devs/pymc3/pull/4343)).
15
25
- The notebook gallery has been moved to https://github.com/pymc-devs/pymc-examples (see [#4348](https://github.com/pymc-devs/pymc3/pull/4348)).
16
26
-`math.logsumexp` now matches `scipy.special.logsumexp` when arrays contain infinite values (see [#4360](https://github.com/pymc-devs/pymc3/pull/4360)).
17
27
- Fixed mathematical formulation in `MvStudentT` random method. (see [#4359](https://github.com/pymc-devs/pymc3/pull/4359))
0 commit comments