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
Check that concentration parameters of Dirichlet distribution are all > 0 (#3853)
* Added check that a>0 in Dirichlet
* Cast a as array for tests
* Test a>0 only when a not an RV and convert to array when list
* Added test for init of Dirichlet with negative values
* Added release note
* Resolved conflict in release notes
* Escaped parenthesis in match regexp
Copy file name to clipboardExpand all lines: RELEASE-NOTES.md
+1
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
-`pm.sample` now takes 1000 draws and 1000 tuning samples by default, instead of 500 previously (see [#3855](https://github.com./pymc-devs/pymc3/pull/3855)).
21
21
- Dropped the outdated 'nuts' initialization method for `pm.sample` (see [#3863](https://github.com./pymc-devs/pymc3/pull/3863)).
22
22
- Moved argument division out of `NegativeBinomial``random` method. Fixes [#3864](https://github.com./pymc-devs/pymc3/issues/3864) in the style of [#3509](https://github.com./pymc-devs/pymc3/pull/3509).
23
+
- The Dirichlet distribution now raises a ValueError when it's initialized with <= 0 values (see [#3853](https://github.com./pymc-devs/pymc3/pull/3853)).
0 commit comments