Skip to content

Commit c0f1c9c

Browse files
ColCarrollJunpeng Lao
authored and
Junpeng Lao
committed
More comments, add release note
1 parent 9da9e27 commit c0f1c9c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

RELEASE-NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
avoids pickleing issues on UNIX, and allows us to show a progress bar
1919
for all chains. If parallel sampling is interrupted, we now return
2020
partial results.
21+
- Add `sample_prior_predictive` which allows for efficient sampling from
22+
the unconditioned model.
2123

2224
### Fixes
2325

pymc3/sampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import sys
2727
sys.setrecursionlimit(10000)
2828

29-
__all__ = ['sample', 'iter_sample', 'sample_ppc', 'sample_ppc_w', 'init_nuts', 'sample_generative']
29+
__all__ = ['sample', 'iter_sample', 'sample_ppc', 'sample_ppc_w', 'init_nuts', 'sample_prior_predictive']
3030

3131
STEP_METHODS = (NUTS, HamiltonianMC, Metropolis, BinaryMetropolis,
3232
BinaryGibbsMetropolis, Slice, CategoricalGibbsMetropolis)
@@ -1278,7 +1278,7 @@ def sample_ppc_w(traces, samples=None, models=None, weights=None,
12781278

12791279

12801280
def sample_prior_predictive(samples=500, model=None, vars=None, random_seed=None):
1281-
"""Generate samples from the prior_predictive distribution.
1281+
"""Generate samples from the prior predictive distribution.
12821282
12831283
Parameters
12841284
----------

0 commit comments

Comments
 (0)