Skip to content

Commit f0e7030

Browse files
PR comments
1 parent bee10e1 commit f0e7030

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

RELEASE-NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- Add `logcdf` method to Kumaraswamy distribution (see [#4706](https://github.com/pymc-devs/pymc3/pull/4706)).
2121
- The `OrderedMultinomial` distribution has been added for use on ordinal data which are _aggregated_ by trial, like multinomial observations, whereas `OrderedLogistic` only accepts ordinal data in a _disaggregated_ format, like categorical
2222
observations (see [#4773](https://github.com/pymc-devs/pymc3/pull/4773)).
23+
- Adds Quadratic Approximation (see [#4847](https://github.com/pymc-devs/pymc3/pull/4847)). A very fast method to approximate the posterior with a Multivariate Normal. Only works well if the posterior is unimodal and roughly symmetrical.
2324

2425
### Maintenance
2526
- Remove float128 dtype support (see [#4514](https://github.com/pymc-devs/pymc3/pull/4514)).

pymc3/quadratic_approximation.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ def quadratic_approximation(vars, n_chains=2, n_samples=10_000):
4949
5050
Returns
5151
-------
52-
(arviz.InferenceData, scipy.stats.multivariate_normal):
53-
InferenceData with samples from the approximate posterior, multivariate normal posterior approximation
54-
52+
arviz.InferenceData:
53+
InferenceData with samples from the approximate posterior
54+
scipy.stats.multivariate_normal:
55+
Multivariate normal posterior approximation
5556
"""
5657
map = find_MAP(vars=vars)
5758
H = find_hessian(map, vars=vars)

0 commit comments

Comments
 (0)